Possible Duplicate:
Timezone conversion in php
Here is a simple example of what i want to do.
I have a variable $time
containing a timestamp.
Now, I want to convert it into timestamp of different timezones
Is there a way to do this without using the function date_default_timezone_set()
multiple times ?
I know my point might seem confusing and point less so please clarify any doubt in comments.
If I have, for example, 100 calls to change it:-
- It affects my other functions
- The functions name suggests its default
- It slows down the script.