Re: Output yyyymmdd formatted date || 20030131 to FridayJanuary 31, 2003
| From: | Michael Geier | Date: | Sat, 08 Feb 2003 21:31:53 +0000 |
| Subject: | Re: Output yyyymmdd formatted date || 20030131 to FridayJanuary 31, 2003 | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-134899@lists.php.net to get a copy of this message | ||
the real question here is are you "storing" your dates in a file or database.
If in a database (say MySQL), you can use the native DATE_FORMAT function of
MySQL to pull the date out in the proper format.
Otherwise, have a look at http://www.php.net/date
Quoting CF High <noah@newminddesign.com>:
> Sorry for the frequent simple posts...........
>
> I've been storing my dates in yyyymmdd format (apparently this is a bad
> idea).
>
> In any case, I need to display this date format as [day name month name day
> #, year] e.g. Friday January 31, 2003.
>
> Any ideas?
>
> Thanks for any leads,
>
> --Noah
>
> --
>
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
=======================================
Michael Geier
CDM Sports, Inc. Systems Administration
email: operations@cdmsports.com
phone: 314.692.3540
-----------------------------------------------
This email sent using CDM Sports Webmail v3.1
[ http://webmail.cdmsports.com ]