The web server is in CDT timezone and I am in EST timezone.
Right now I have the code:
date("M j, Y g:i a T")
which displays something like:
Sep 26, 2006 8:59 pm CDT
How would I go about converting it to EST timezone?
Thanks.
The web server is in CDT timezone and I am in EST timezone.
Right now I have the code:
date("M j, Y g:i a T")
which displays something like:
Sep 26, 2006 8:59 pm CDT
How would I go about converting it to EST timezone?
Thanks.
echo date("M j, Y g:i a T", strtotime('+1 hour'));
I just found out about the "date_default_timezone_set" function.
I just add
date_default_timezone_set('Canada/Eastern');
Thanks for your reply.
dinosoup wrote:I just found out about the "date_default_timezone_set" function.
I just add
date_default_timezone_set('Canada/Eastern');
Thanks for your reply.
Oh, yeah - forgot about that. My web host is on PHP4, so I'm not able to use that.