How the Moon Makes Calendars