the php is version 4.4.4
I have been using the date() to store dates into my mysql tables in the past and it worked corectly. I dont know what could of happen but now the date() function is returning an incorrect time.
I made a test script test.php
CODE
<?php
$date_time = date('y-m-d H:m:s');
echo($date_time);
?>
$date_time = date('y-m-d H:m:s');
echo($date_time);
?>
and loaded it up. My laptops system time would be 1.35.33 PM
and the date and time returned from php would be 07-06-28 13:06:56
I would hit refresh on the browser but it would still loop in that same minute
e.g.
QUOTE
07-06-28 13:06:56
07-06-28 13:06:57
07-06-28 13:06:58
07-06-28 13:06:59
07-06-28 13:06:00
07-06-28 13:06:01
07-06-28 13:06:57
07-06-28 13:06:58
07-06-28 13:06:59
07-06-28 13:06:00
07-06-28 13:06:01
.........
Any ideas on how I could fix this problem? would I just be better too to upgrade to lastest version of php and hopefully it will not have that problem.

