Re: Dates and different time zones

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

 



On Tue, April 10, 2007 11:38 am, Satyam wrote:
> In PHP dates are stored as seconds from an arbitrary zero set at Jan
> 1st,
> 1970, so does MySql with date/time values though it shows them
> formatted but

nitpick:
I don't think MySQL uses Unix timestamp internally, as it's quite
capable of storing a wider range than Unix timestamp.

I could be wrong, of course, depending on what data type you were
thinking of, and what version of MySQL, and what server settings are
in effect...

Databases have a bewildering plethora of date/time storage options. :-)

-- 
Some people have a "gift" link here.
Know what I want?
I want you to buy a CD from some indie artist.
http://cdbaby.com/browse/from/lynch
Yeah, I get a buck. So?

-- 
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