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, January 12, 2001, 8:35:04 AM, Tomasz wrote:
TA> I have hosting in the states, but develop
TA> sites in europe, this gives me a +7 hour
TA> time diffrence. how can i modify date();
TA> to give me CET?
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]