PHP Newbie, so please don't flame me <bg>!

I am converting an organizer example from an ASP book to PHP
and need some help.

Need some help with the following code :

/*
 intMonth and intYear are variables passed into a function
 datCurrent, intCurrentMonthDays and intWorkDays are local 
 variables
*/

   datCurrent = CDate(intMonth & "/1/" & intYear)
   intCurrentMonthDays = _
      Day(DateAdd("d", -1, DateAdd("m", 1, datCurrent)))
   intWeekday = Weekday(datCurrent)

I can't find any PHP functions to handle this type of day/date
manipulation...

-- 
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]

Reply via email to