Jump to content

One other PHP help ??? if I may ...


Midnite

Recommended Posts

If there a way to chage the time from one timezone to another ??? could someone please post a script that would do this ... I can get a variable for the time but do not understand how to convert it to eastern time ... ??? I think my server is in Europe so the time is WAY OFF !!! any help PLEASE


Thanks;
Midnite
Link to comment
Share on other sites

[!--quoteo(post=384474:date=Jun 16 2006, 08:32 AM:name=Midnite)--][div class=\'quotetop\']QUOTE(Midnite @ Jun 16 2006, 08:32 AM) [snapback]384474[/snapback][/div][div class=\'quotemain\'][!--quotec--]
If there a way to chage the time from one timezone to another ??? could someone please post a script that would do this ... I can get a variable for the time but do not understand how to convert it to eastern time ... ??? I think my server is in Europe so the time is WAY OFF !!! any help PLEASE
Thanks;
Midnite
[/quote]


Just had a look on php.net and it seems it was only introduced in php 5 which is fine if this is what your running.

date_default_timezone_set ( string timezone_identifier )

A list of TimeZones can be found here: [a href=\"http://uk2.php.net/manual/en/timezones.php\" target=\"_blank\"]http://uk2.php.net/manual/en/timezones.php[/a]
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.