Incorrect display of the days on the calendar
-
To solve this problem you need to replace the line
$strt_day = date (‘w’, mktime (0, 0, 0, $ month, 1, $ year));
to
$strt_day = date (‘N’, mktime (0, 0, 0, $ month, 1, $ year));
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Incorrect display of the days on the calendar’ is closed to new replies.