Thoth was credited as the inventor of the 365-day (rather than 360-day) calendar, it being said that he had won the extra 5 days by gambling with the moon, then known as Iabet, in a game of dice, for 1/72nd of its light (5 = 360/72).