timestamp value management
| From: | xkorakidis | Date: | Mon, 30 Jan 2006 21:03:30 +0000 |
| Subject: | timestamp value management | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-41147@lists.php.net to get a copy of this message | ||
hi guys!
I'm trying to manage a table containing a timestamp colum
- when I insert a record, I don't fill a value in timestamp column, so
current timestamp is inserted. The inserted value is smth like
20060129213253
- when I try to show this value in a php page, I use
date($varOfTimestampColumn) or getdate(). The final result is the
highest possible date (smth like January 19 2038 I think)
How can I manage the timestamp field so as to show the correct value?
Thanks!