Babies may receive day-and-night cues before birth through melatonin from their mothers. The hormone can cross the placenta during pregnancy.