RE: Bug #13187 Updated: Concerning jdtounix() function
| From: | Ludovic NOEL | Date: | Fri, 07 Sep 2001 08:35:30 +0000 |
| Subject: | RE: Bug #13187 Updated: Concerning jdtounix() function | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-65317@lists.php.net to get a copy of this message | ||
I'm in france, in Paris, GMT or GMT+1 ( I don't remember... )
-----Message d'origine-----
De : Bug Database [mailto:php-dev@lists.php.net]
Envoyé : vendredi 7 septembre 2001 09:56
À : studiobl@mageos.com
Objet : Bug #13187 Updated: Concerning jdtounix() function
ID: 13187
Updated by: hholzgra
Reported By: studiobl@mageos.com
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@mageos.com
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