Re: Help converting ASP->PHP

From: Date: Wed, 24 Oct 2001 12:48:41 +0000
Subject: Re: Help converting ASP->PHP
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-72092@lists.php.net to get a copy of this message
In article <100389977801@mail1.emumail.net>, garth@utmail.to says... > > > 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' Thanks, that was it...hmmm, it is wonderful when you FULLY read the manual, huh?

« previous php.general (#72092) next »