Re: Converting "Time()" to date

From: Date: Tue, 12 Nov 2002 15:43:54 +0000
Subject: Re: Converting "Time()" to date
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-124013@lists.php.net to get a copy of this message
At 16:46 12.11.2002, Todd Cary spoke out and said: --------------------[snip]-------------------- >I have an array of months (monthList) that I use for a drop-down. I >would like to initialize the month to "ThisMonth" using "time()". What >is the best way to get "November"? from "time()"? --------------------[snip]-------------------- :)) rtfm, again and again :)) 1) http://www.php.net/manual/en/function.date.php 2) try this: date('F', time()); -- >O Ernest E. Vogelsinger (\) ICQ #13394035 ^ http://www.vogelsinger.at/

« previous php.general (#124013) next »