Dec 10
8
This 3 lines will give you the current date minus 1 hour:
-
$date =
date("d-m-Y H:i");
-
-
$newdateStr =
date (‘d-m-Y H:i’ ,
$newdate );
Tags: date, php, substract, time
This entry was posted
on December 8, 2010 at 9:41 am. You can follow any responses to this entry through the RSS 2.0 feed.
Both comments and pings are currently closed.
Posted in PHP & MySQL by admin