date conversion

From: Date: Thu, 15 Feb 2001 00:53:13 +0000
Subject: date conversion
Groups: php.windows 
Request: Send a blank email to php-windows+get-5569@lists.php.net to get a copy of this message
Hi, I am trying to get US date out of a DATETIME column but it returns "12/31/1969". The line of code that I am using is: <?php echo date("m/d/Y", $Row->FileSentDate); ?> According to the documentation, the second parameter of the date() function requires timestamp value which is int data type. If any of you know how to convert a value into timestamp or any other solution to get US date out of a string or DATETIME column, please let me know. Thanks for your help. Vasu

« previous php.windows (#5569) next »