RE: [PHP-WIN] A List of months

From: Date: Tue, 30 Oct 2001 22:32:43 +0000
Subject: RE: [PHP-WIN] A List of months
Groups: php.windows 
Request: Send a blank email to php-windows+get-10122@lists.php.net to get a copy of this message
<? for($i=1; $i<13; $i++){ $timestamp=mktime(0,0,0,$i+1, 0, date("Y")); $formattedtime=date("d.F.Y", $timestamp); echo "01-"."$formattedtime<br>"; } ?> more information on how to use date() and the rest of the built in PHP functions can be found here: http://www.php.net/manual/en/function.date.php rob. -----Original Message----- From: Marius [mailto:marius@hypergiro.de] Sent: Tuesday, October 30, 2001 4:13 PM To: php-windows@lists.php.net Subject: [PHP-WIN] A List of months I wanna list the next 12 Month in PHP, that shuld look so: 01-31.Monthname.2001 01-31.Monthname.2001 01-31.Monthname.2001 ..... How to list them correctly and dynamicly in php?! Thx! -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-windows-unsubscribe@lists.php.net For additional commands, e-mail: php-windows-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.windows (#10122) next »