Created
February 3, 2013 12:09
-
-
Save TimWolla/4701541 to your computer and use it in GitHub Desktop.
Easily find out timestamp of first and last second of last month 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
<?php | |
$start = strtotime('first day of last Month 00:00:00'); | |
$end = strtotime('last day of last month 23:59:59'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment