mysql timestamp and php date
| From: | Bryan Koschmann - GKT | Date: | Mon, 30 Sep 2002 18:21:43 +0000 |
| Subject: | mysql timestamp and php date | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-118245@lists.php.net to get a copy of this message | ||
Hello,
I have a table with timestamps in mysql. The timestamps of course are in
the format of 20020930014535 but I would like to format the output as
this:
date("l F jS H:i:s", $last_modified)
What is the simplest way to do this? I see there are a few ways to convert
it, but I was hoping for something easy (i.e. any built in functions that
I missed).
Thanks!
Bryan