RE: [PHP] formatting date issues
| From: | Jay Blanchard | Date: | Tue, 04 May 2004 12:30:49 +0000 |
| Subject: | RE: [PHP] formatting date issues | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-185297@lists.php.net to get a copy of this message | ||
[snip]
Problem is, I don't really write code and need to do this one thing.
I looked at all the information on that page, and more.....have no idea
what
to do with it.
[/snip]
Try this ...
$timestamp = mktime(0, 0, 0, 03, 06, 2004);
echo date('F j, Y', $timestamp);
Use substrings of the date you retrieve from the database to populate
the mktime function