[PHP-DEV] RE: Bug #13187 Updated: Concerning jdtounix() function From: Ludovic NOEL (noel <email protected>)
Date: 09/07/01

I'm in france, in Paris, GMT or GMT+1 ( I don't remember... )

-----Message d'origine-----
De : Bug Database [mailto:php-dev <email protected>]
Envoyé : vendredi 7 septembre 2001 09:56
À : studiobl <email protected>
Objet : Bug #13187 Updated: Concerning jdtounix() function

ID: 13187
Updated by: hholzgra
Reported By: studiobl <email protected>
Old Status: Open
Status: Feedback
Bug Type: Calendar related
Operating System: Linux Redhat 7.1
PHP Version: 4.0.6
New Comment:

what timezone are you in ?

Previous Comments:
------------------------------------------------------------------------

[2001-09-06 19:18:11] studiobl <email protected>

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

------------------------------------------------------------------------

ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at
http://bugs.php.net/?id=13187&edit=2

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>