Created
October 9, 2012 03:12
-
-
Save lighty/3856356 to your computer and use it in GitHub Desktop.
当月の開始日、次月の開始日、次月の月末
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
$startOfThisMonth = date('Y-m-1', strtotime($from)); | |
$startOfNextMonth = date('Y-m-d', strtotime($startOfThisMonth.' +1 month')) ; | |
$endOfNextMonth = date('Y-m-t', strtotime($startOfNextMonth)); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment