A day is the period of rotation of a planet (as earth) or a moon on its axis.