Hi,
That looks like a unix timestamp. Try this:
Echo date("Y/m/d h:i:s", "1056044640");
www.php.net/date
Check that link to see the lettering codes and the syntax, I
might be off on what I typed up there, but you'll get the concept.
-Dan Joseph
-----Original Message-----
From: Logan McKinley [mailto:[EMAIL PROTECTED]
Sent: Monday, June 23, 2003 5:06 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Date problem
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,
~Logan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php