Erin wrote:

Hi All,
    Sorry if this has been asked a 1000 times and if its easy to find in the
php manual but i cant seam to solve this.

How do i convert a timestamp in to a normal readable time & date ie

20031111155023

into

11th November 2003 @ 15:50:23

IFF the "timestamp" is coming from MySQL (which has that format), then you should use DATE_FORMAT() in your query to do the formatting.


--
---John Holmes...

Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/

php|architect: The Magazine for PHP Professionals – www.phparch.com

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to