php time zone
Posted: Fri Jan 19, 2007 1:32 am
Greeting Guru on PHP
I notice when i put in the function
It will display
19-01-2006 Fri 07:20:38
seems like is the locale issue.
how do i fix that? thanks in advance
I notice when i put in the function
Code: Select all
<?php
// assume now is 2007 01 19 Friday 15:20:38
$currentdatetime=date('d-m-Y D H:i:s')
echo $currentdatetime;
?>19-01-2006 Fri 07:20:38
seems like is the locale issue.
how do i fix that? thanks in advance