Violation Posted February 28, 2008 Share Posted February 28, 2008 I was wondering the best way to omit weekends from a calendar would be? Trying to build a 5-day calendar (ie. Mon-Fri) Any help or suggestions would be greatly appreciated... Link to comment https://forums.phpfreaks.com/topic/93571-calendar-type-question/ Share on other sites More sharing options...
revraz Posted February 28, 2008 Share Posted February 28, 2008 date() can determine what day of the week it is. So just check it and if it equal Sat/Sun, skip it. Link to comment https://forums.phpfreaks.com/topic/93571-calendar-type-question/#findComment-479496 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.