Source Code:
(back to article)
<?php $time = time(); $new_time = strtotime("+30 seconds", $time); echo "Original time: " . date("Y-m-d H:i:s", $time) . "\n"; echo "New time: " . date("Y-m-d H:i:s", $new_time) . "\n";
Result:
Report an issue