Last active
August 29, 2015 14:01
-
-
Save Williammer/bba0309c721ddf131e64 to your computer and use it in GitHub Desktop.
php.useDate.php - by far the most convenient date method I used in php.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//get certain date. | |
$date_case = strtotime('+1 month', strtotime('201405071011')); | |
$month_later = date('YmdHi', $date_case); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment