
- You are not logged in. | Login
January 16, 2007 10:05 am
- tucansam
- Member


Help me with time please
Why using the following code
<?
$light = mktime (5, 0, 0, date("m"), date("d"), date("Y"));
print(date("Y-m-d H:m:s", $light));
?>php prints
2006-11-10 05:11 :00
i expected to see as follows:
2006-11-10 05:00 :00
January 16, 2007 10:07 am
- steven9x
- Member


Re: Help me with time please
minutes are i
<?
$light = mktime (5, 0, 0, date("m"), date("d"), date("Y"));
print(date("Y-m-d H:i:s", $light));
?>


