bleustreak12 Posted July 9, 2009 Share Posted July 9, 2009 I sent a message at 00:48 on 9 July But the actual message says It was sent 22:48 on 8 July. So the clock that determines the time the message was sent should be moved forward 2 hours this is what i received by email The following request was received on : Wed, 08 Jul 09 22:48:36 +0000 it should have been 00:48 CAn anybody help me please I have tried all sorts of coding but am not able to achieve it i have even googled and tried many resources from there but i cannot achieve what i want CAn somebody please tell me what the code should be i have written the following code $callstrBody= "Dear Administrator,"."\r\n"."\r\n"."The following request was received on : " .gmdate(DATE_RFC822). what should my coding be? Quote Link to comment Share on other sites More sharing options...
joel24 Posted July 9, 2009 Share Posted July 9, 2009 use this code to change the timezone... putenv('TZ=Australia/Sydney'); obviously change Australia/Sydney to whatever timezone a list of supported timezones is here http://au2.php.net/manual/en/timezones.php Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.