How can I add 30 seconds to this time?
$time = date(\"m/d/Y h:i:s a\", time());
I wasn\'t sure how to do it because it is showing lots of diffe
General :
$add_time=strtotime($old_date)+30; $add_date= date('m/d/Y h:i:s a',$add_time);
See mktime:
mktime (date("H"), date("i"), date("s") + 30)
http://www.php.net/manual/en/function.mktime.php
should do what you want.