From:             [EMAIL PROTECTED]
Operating system: Linux Redhat 7.1
PHP version:      4.0.6
PHP Bug Type:     Calendar related
Bug description:  Concerning jdtounix() function

It's not unresolvable but it must be known :

in PHP :
jdtounix(today);
returns a number of seconds sinc an origin (here we call it A)

but in MYSQL :
UNIX_TIMESTAMP(today at 00:00:00)
returns A minus 7200 seconds

that's a difference of 2 hours !

in fact when you do jdtounix(today) it more like jdtounix(today at
02:00:00)....


-- 
Edit bug report at: http://bugs.php.net/?id=13187&edit=1


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to