31 was considered a lucky number by the romans. So when they made the Julian Calendar and added the months July and August (Named for Julius and Augustus Caesar) they wanted them to have 31 days.
March was the first month of their calendar, so they took the extra two days from the last month, February.
Latest Answers