Re: Time Wrong

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



2009/1/21 Gary <gwpaul@xxxxxxx>

> Im pretty new with php, so this might be a pretty novice mistake, but the
> time displays wrong on two computers.
>
>  <?php echo date('l F jS, o h i A');?>
>
> Shows up 2 hours late...time on both computers is correct.
>
> Thanks
>
>
Do you mean on two computers visiting a php script? PHP is running on the
server, so it will use server time
-eddy

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux