When i tired following code it says:
09/09/2008 14:30:03
Code: Select all
$format = '%d/%m/%Y %H:%M:%S';
$strf = strftime($format);
Tue Sep 9 15:26:40 2008
why is this difference of one hour? any idea?
thank you
Moderator: General Moderators
Code: Select all
$format = '%d/%m/%Y %H:%M:%S';
$strf = strftime($format);
Code: Select all
[size=150]echo date("H:i:s"); // will output 17:16:17[/size]