Re: Help converting ASP->PHP

From: Date: Wed, 24 Oct 2001 05:02:51 +0000
Subject: Re: Help converting ASP->PHP
Groups: php.general 
Request: Send a blank email to php-general+get-72047@lists.php.net to get a copy of this message
> > 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

« previous php.general (#72047) next »