Help converting ASP->PHP

From: Date: Fri, 19 Oct 2001 21:00:26 +0000
Subject: Help converting ASP->PHP
Groups: php.general 
Request: Send a blank email to php-general+get-71629@lists.php.net to get a copy of this message
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...

« previous php.general (#71629) next »