Hello,
Am using the below code to view server localtime on my website , but the interesting issue is that its always showing extra one hour from server time e.g.
the win server time is 10:00 pm when i excute this php code it shows the time 11:00 pm .
Am using Xampp V.1.7.0.
Can you please help ?
Am using the below code to view server localtime on my website , but the interesting issue is that its always showing extra one hour from server time e.g.
Code:
<?php
/**
// Displays in the format Saturday, November 22, 2003 11.38
echo date("l, F d, Y h:i" ,time());
?>
Am using Xampp V.1.7.0.
Can you please help ?
Comment