Hi Folks,
I want to display the current system (linux) time
in the webpage using PHP code
I have tried numerous codes had a mismatched time as output.
Finally I have tried the code : <?php
$date = date('l dS \of F Y h:i:s A');
echo "$date";
?>
Output:
Friday 04th of June 2010 07:58:53 AM
where as the actual system time is :
Friday 04th of June 2010 08:58:53 PM
The system local time is Japan/Tokyo.
Can anyone help me with the resolution to this issue
on priority.
Recent comments
14 hours 54 min ago
19 hours 59 min ago
1 day 23 min ago
1 day 2 hours ago
1 day 16 hours ago
1 day 16 hours ago
1 day 21 hours ago
2 days 4 hours ago
2 days 4 hours ago
2 days 6 hours ago