note 6354 deleted from Date and Time functions by ronabop
| From: | ronabop@php.net | Date: | Fri, 18 Aug 2000 04:34:15 +0000 |
| Subject: | note 6354 deleted from Date and Time functions by ronabop | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-2391@lists.php.net to get a copy of this message | ||
I ahve a table that has a timestamp column. I want to format the date so that it is easy to read.
But everything I've tried has returned January of 2038 or some crazy time.. any help? or any
idea what I'm doing wrong?
<pre>
$date_time_array = getdate($polly["date"]);
$datefix = $date_time_array["month"]."
".$date_time_array["mday"].",
".$date_time_array["year"]." at
".$date_time_array["hours"].":".$date_time_array["minutes"].":"
.$date_time_array["seconds"];
</pre>
where am I going wrong?