Created
November 5, 2014 13:57
-
-
Save xr0m3oz/c3b8b5d2d75e6bd31e90 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| <?php | |
| $d = new DateTime( '2010-01-31' ); | |
| $d->modify( 'first day of next month' ); | |
| echo $d->format( 'F' ), "\n"; | |
| ?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment