|
Posted by dredge on 03/07/07 15:56
On Mar 7, 9:14 am, Iván Sánchez Ortega <ivansanchez-...@rroba-
escomposlinux.-.punto.-.org> wrote:
> dredge wrote:
> > Hi, the server that hosts my PHP pages has its clock set to Greenwich
> > Mean Time (GMT timezone 0). I need for my PHP scripts to have access
> > to my local time which is Central Standard Time in the U.S. (CST
> > timezone -6).
>
> Just RTFM:
>
> php.net/date_default_timezone_set
>
> --
> ----------------------------------
> Iván Sánchez Ortega -ivansanchez-algarroba-escomposlinux-punto-org-
>
> http://acm.asoc.fi.upm.es/~mr/;http://acm.asoc.fi.upm.es/~ivan/
> MSN:i_eat_s_p_a_m_for_breakf...@hotmail.com
> Jabber:ivansanc...@jabber.org ; ivansanc...@kdetalk.net
Woops, forgot to include that the server is running PHP 4.3.11 I
believe the date_default_timezone_set function is only available in
versions 5+
Navigation:
[Reply to this message]
|