Stars form at night while the Earth is rotating