SyntaxFix
Write A Post
Hire A Developer
Questions
cal_days_in_month() should give you the total number of days in the month, and therefore, the last one.