>I am storing dates in an Access database in a field with a "Date/Time" Type
>the date is being generated using date("n/d/Y h:i a"). It appears to be
>stored in Access correctly but when I output it to the page using PHP it
>seems to be changing. It is being stored in the database as "6/19/2003
>1:44:00 PM" but being displayed on the page as "1056044640"
>Thanks in advance,
That's a timestamp - it's the number of seconds since the Unix Epoch
(1/1/1970 GMT), and you can read up about conversion here: php.net/date
---------------------------------------------------------------------
michal migurski- contact info and pgp key:
sf/ca http://mike.teczno.com/contact.html
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php