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

Edit bug report at:

PHP Development Mailing List <>
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