RE: [PHP] Mail Sent Date - more info

From: Date: Fri, 08 Feb 2002 20:48:12 +0000
Subject: RE: [PHP] Mail Sent Date - more info
Groups: php.general 
Request: Send a blank email to php-general+get-84049@lists.php.net to get a copy of this message
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:JPickup@gprc.ab.ca] Sent: Friday, February 08, 2002 1:40 PM To: 'php-general@lists.php.net' 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

« previous php.general (#84049) next »