cancer10
10-07-2008, 02:41 PM
Hi,
I am using windows XP and running a local server on my PC.
I am using the following PHP code to generate the current System time:
<?php echo date("g:i a", time()) ;?>
To my surprise, I see the output as 2:36 pm where as my localtime is 8:08 PM
Why is there approx 6.3 hrs of difference b/w my system time and my local server time?
Any help will be appreciated
Thanx
I am using windows XP and running a local server on my PC.
I am using the following PHP code to generate the current System time:
<?php echo date("g:i a", time()) ;?>
To my surprise, I see the output as 2:36 pm where as my localtime is 8:08 PM
Why is there approx 6.3 hrs of difference b/w my system time and my local server time?
Any help will be appreciated
Thanx