PHP Time Functions GMT?
Posted: Wed Mar 05, 2003 2:30 am
Hi guys
I installed a phpbb active dektop icon script and its working almost perfect.. its all ok except for the time displayed
for example, right now it tells me
Last Updated 05 Mar 2003 03:18 am
but it should say
Last Updated 05 Mar 2003 08:18 am
so it looks like its 5 hours behind..
i know the cause is that I and most my forum users are UK based but that server that hosts my forum is based in USA..
looking at this php file the time functions are
thanks in advance for any help.
I installed a phpbb active dektop icon script and its working almost perfect.. its all ok except for the time displayed
for example, right now it tells me
Last Updated 05 Mar 2003 03:18 am
but it should say
Last Updated 05 Mar 2003 08:18 am
so it looks like its 5 hours behind..
i know the cause is that I and most my forum users are UK based but that server that hosts my forum is based in USA..
looking at this php file the time functions are
does anyone know if i can alter that or anything else to show GMT time.. i.e. 5 hours ahead from what its currently showing?$time=time();
$time=date("d M Y h:i a",$time);
thanks in advance for any help.
