Skip to content

Instantly share code, notes, and snippets.

@toshimaru
Created July 12, 2012 05:43
Show Gist options
  • Save toshimaru/3096075 to your computer and use it in GitHub Desktop.
Save toshimaru/3096075 to your computer and use it in GitHub Desktop.
add time to now.
<?php
print "1 hour later:" . date("Y/m/d H:i:s",strtotime("1 hour" ,strtotime(now))) . "<br>";
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment