Re: [PHP-WIN] problems with time diffrences

2001-01-12 Thread Pablo Vera
Tomasz: You could do something like this: $my_time = time() - 7*3600; // substract 7 hours to hosting time $my_date = date($format, $my_time); $format is the string you are using to format the date/time. Saludos, Pablo Vera _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Friday, Janu

Re: [PHP-WIN] problems with time diffrences

2001-01-12 Thread Nol Shala
Well I don't know how you can adjust it for CET, but I it helps you can use GMT time. For local settings of time and language please check this page http://www.php.net/manual/function.gmstrftime.php Greetings Nol - Original Message - From: "Tomasz Abramowicz" <[EMAIL PROTECTED]> To:

Re: [PHP-WIN] problems with time diffrences

2001-01-12 Thread Paul Meagher
I believe you need to set a "tz" variable before you call your date functions. If you do a search for "tz" in the mailing list archives you can probably find a snippet that will show you how to do it. Regards, Paul - Original Message - From: "Tomasz Abramowicz" <[EMAIL PROTECTED]> To: <