Timezones

Timezones

am 26.02.2006 19:55:28 von J Lee

I have a script that gets the time that someone submits the form. The
problem is my web host is on the west coast and I am on the east coast and
the time difference is 3 hours, so my script displays the time 3 hours
early. I would appreciate any help or tips. Here is what I have already:

$date = date("M-d-Y G:i:s");

Re: Timezones

am 26.02.2006 22:04:00 von Stefan Rybacki

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

J Lee schrieb:
> I have a script that gets the time that someone submits the form. The
> problem is my web host is on the west coast and I am on the east coast and
> the time difference is 3 hours, so my script displays the time 3 hours
> early. I would appreciate any help or tips. Here is what I have already:

So RTFM!

>
> $date = date("M-d-Y G:i:s");

I say Z and maybe you'll know how to use it in your application?! ;)

Regards
Stefan

>
>

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.1 (MingW32)

iD8DBQFEAhfAyeCLzp/JKjARAuhHAJ4x8BYWbZqUiIZqDlK3MOL1MQjvOACg t0G/
nMF59+zXB4B6isaV4nTrMSU=
=Zdln
-----END PGP SIGNATURE-----