Month guides and calendar calculations
Practical explanations for exploring, comparing and planning calendar months.
Monthly calendar generator
Build and read a calendar for any month and year.
How many days are in a selected month?
Find whether a month contains 28, 29, 30 or 31 days.
How many weekdays are in a month?
Count Monday-through-Friday dates in a particular month.
How many weekend days are in a month?
Count Saturdays and Sundays for any selected month.
First and last day of a month
Find the boundary dates and weekdays of any calendar month.
How many weeks are in a calendar month?
Understand full weeks, partial weeks and calendar rows.
Which months have five weekends?
Learn when a month contains five Saturdays and five Sundays.
Month numbers and names
Map January through December to month numbers 1 through 12.
A practical monthly planning method
Turn a selected calendar month into a realistic plan.
How to calculate month boundaries
Calculate month starts and ends for reports and date filters.
How to compare two calendar months
Compare length, weekdays, weekends and weekday alignment.
What is a business month?
Distinguish calendar months from accounting and contractual periods.
Working with month data in programming
Avoid indexing, overflow and time-zone mistakes in month calculations.