The moon's 29.5 day synodic month was the basis of lunar calendars throughout the course of history. While a lunar calendar was convenient, it presented an immediate challenge: Compared to the solar year of 365 days, a lunar year lasts an average of 354 days. Some groups decided to ignore this discrepancy.