I just checked the Date function and when you use the 'O' or 'r':
   O - Difference to Greenwich time in hours; i.e. "+0200" 
   r - RFC 822 formatted date; i.e. "Thu, 21 Dec 2000 16:01:07 +0200"
it also gives the wrong time zone.

Is there anyway to tell PHP that it is wrong? Is this just a bug in PHP
4.0.4?

Jordan 


-----Original Message-----
From: Pickup, Jordan [mailto:[EMAIL PROTECTED]] 
Sent: Friday, February 08, 2002 1:40 PM
To: '[EMAIL PROTECTED]'
Subject: [PHP] Mail Sent Date

We are in the -0700 time zone but whenever I use PHP to send a message it
sends it from +0700 making the message appear to have been sent 14hours
earlier than it was.

 

I can add my own Date header to the mail function with the correct date/time
zone but that means I have to modify all my scripts.

 

Is this a known bug? Have I just made a stupid mistake? I did check to make
sure my server was in the right time zone. :-)

 

Does anyone know a solution?

 

Thanks.

 

Jordan


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to