Problem with time
Posted: Thu Aug 05, 2004 4:54 am
Hi all,
I'm expirincing a problem whith time.
With date command, using a Linux shell, i obtain this result
The Aug 5 11:42:42 CEST 2004
while with this php script, on the same server,
$today = getdate();
$month = $today['month'];
$mday = $today['mday'];
$year = $today['year '];
$hour = $today['hour '];
echo "$month $mday, $year $hour";
I obtain
August 5, 2004 05:42:42
a difference of about 6 hours.
please, can someone suggest what' wrong?
Thank's in advance.
Accursio Avona. [/b]
I'm expirincing a problem whith time.
With date command, using a Linux shell, i obtain this result
The Aug 5 11:42:42 CEST 2004
while with this php script, on the same server,
$today = getdate();
$month = $today['month'];
$mday = $today['mday'];
$year = $today['year '];
$hour = $today['hour '];
echo "$month $mday, $year $hour";
I obtain
August 5, 2004 05:42:42
a difference of about 6 hours.
please, can someone suggest what' wrong?
Thank's in advance.
Accursio Avona. [/b]