Page 1 of 1

setting the time zone in PHP

Posted: Fri Nov 11, 2005 10:52 am
by kendall
Hello,

wasnt there a function that allowed you to adjust either client time or server time zone to equal each other?

i used it once but cant for the love of gosh remember what it was....something that involved setting the timezeon code

e.g.
LA PAZ

Posted: Fri Nov 11, 2005 11:49 am
by foobar
I checked the PHP Manual, and whaddya know! I found it in a matter of seconds!

setlocale()

setting the time zone in PHP

Posted: Fri Nov 11, 2005 12:02 pm
by kendall
:? Duhhh.....I knew about that but i wasnt sure that that was it.

I dont think that is what i was talkin about.

i believe it would have been the
put_env(TZ=Caracas/La Paz)
im really interested in the timsezone constants....especially for Trinidad and Tobago which uses the Caracas/La Paz timezone

Kendall