> > datCurrent, intCurrentMonthDays and intWorkDays are local > This didn't totaly help. This line I can't figure out: > intCurrentMonthDays= Day[DateAdd["d",-1, DateAdd["m",1, datCurrent]]]; > > Basically it gets the number of days in the current month, How to do > in PHP?
Mr.Baseball, have a look at the manual page for the date function http://www.php.net/manual/en/function.date.php There is a an option to get the number of days in a month do a search for 'number of days in the given month' -G -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]