Jump to content

addin 12 hours to date


Recommended Posts

Not sure if this is the best metod, but it does the trick. functions to look for in the manual are strtotime() and date()

$time = strtotime("now +12 hours");
$format = date("D M j G:i:s T Y", $time);
echo $format;


good luck!

Link to comment
Share on other sites


This topic is now archived and is closed to further replies.

  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.