I have two date strings coming out from MySQL. Both fields are defined as datetime.
When i come to print them like this : Echo"<B>Ticket Opened</B> : " . date("l, F jS Y H:i",$row->OpenDate) . "<BR>"; Echo"<B>Problem Start</B> : " . date("l, F jS Y H:i",$row->ProblemStart) . "<BR>"; I get : Ticket Opened : Sunday, July 13th 2003 13:37 Problem Start : Thursday, January 1st 1970 02:33 Notice that the 2nd date is wrong and it's some kind of default that the function returns. Only if i add strtotime() and only to the 2nd field do i get the correct answer : Ticket Opened : Sunday, July 13th 2003 13:37 Problem Start : Saturday, July 12th 2003 20:36 any idea? Sincerely berber Visit http://www.weberdev.com/ Today!!! To see where PHP might take you tomorrow. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php