setenv() the appropriate timezone, then use strtotime() or mktime() to
create a timestamp.  Then setenv() to the other timezone and use date() or
strftime() to convert back into a legible format.

-Rasmus

On Thu, 11 Apr 2002, Richard KS wrote:

> Greetings.
>
> I was wondering if there are any good ways of converting a date into another
> time zone? For instance, from GMT+8 to GMT+1, is this possible in some way?
>
> Like if I have a date written 09.04.2002 14:11, I would like to format it
> into GMT+1.. Any solutions?
>
> Thanks alot
>
> --
> Richard,
>   oblivion creations
>   http://oblivion.lunamorena.net
>   [EMAIL PROTECTED]
>   +46 (0) 736 849 531 for sure contact..
>
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>


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

Reply via email to