Posted by John Nichel on 09/26/05 23:26
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
Navigation:
[Reply to this message]
|