Re: mysql/php date functions..

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Chris W. Parker wrote:
John Nichel <mailto:john@xxxxxxxxxxxx>
    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@xxxxxxxxxxxx

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux