At approximately day 5

Primordial germ cells (PGCs) differentiate in the blastocyst.

Reference [PubMed Link]

Rabinovici J, Jaffe RB. 1990. Development and regulation of growth and differentiated function in human and subhumand primate fetal gonads. Endocrine Reviews 11(4):532-557.