RE: [PHP] Output Numerical Month as String?
| From: | Dennis Cole | Date: | Wed, 14 Feb 2001 20:21:57 +0000 |
| Subject: | RE: [PHP] Output Numerical Month as String? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-137124@lists.php.net to get a copy of this message | ||
[code]
date ("F", mktime(0,0,0,6,1,2000));
[\code]
Replace 6 with the month number and your on your way
-----Original Message-----
From: CF High [mailto:noah@newminddesign.com]
Sent: Tuesday, February 25, 2003 5:54 PM
To: php-general@lists.php.net
Subject: [PHP] Output Numerical Month as String?
Hey all.
Easy question here (can't find the answer in php manual)
In Cold Fusion I'm able to format a given numerical month value, say the
third month, as #MonthAsString(3)# and it returns "March"
What's the equivalent in PHP?
Thanks for any ideas..........
--Noah
--
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php