PHP date() and MySQL timestamp problem
| From: | Tom Harris | Date: | Fri, 10 Nov 2000 17:33:25 +0000 |
| Subject: | PHP date() and MySQL timestamp problem | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-24672@lists.php.net to get a copy of this message | ||
Hi folks,
I have another dumb newbie question (I'm sorry about the frequent posting,
and appreciate all the answers greatly).
I have a timestamp column in MySQL that I want to format into a normal date.
The code I used was
date ("d M Y", $modified)
$modified is the value from the timestamp column. However it give a very
wrong date. Anything I've modified today comes out as 18 Jan 2038.
Any suggestion?
Thanks,
-T