Re: problems with time diffrences
| From: | Pablo Vera | Date: | Fri, 12 Jan 2001 15:08:09 +0000 |
| Subject: | Re: problems with time diffrences | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-4949@lists.php.net to get a copy of this message | ||
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?