Re: mysql/php date functions..

From: Date: Mon, 26 Sep 2005 20:26:16 +0000
Subject: Re: mysql/php date functions..
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-223236@lists.php.net to get a copy of this message
Chris W. Parker wrote:
John Nichel <mailto:john@kegworks.com>
    on Monday, September 26, 2005 12:43 PM said:
I don't convert it. I store the UNIX timestamp in an INT(11) column.
This is going to be a basic question I'm sure but why INT and not VARCHAR? Is it simply because a timestamp is a number?
Yep. Course, I may be doing it wrong. Wouldn't be the first time. ;) -- John C. Nichel ÜberGeek KegWorks.com 716.856.9675 john@kegworks.com

« previous php.general (#223236) next »