Created
December 17, 2014 15:44
-
-
Save zaky/3510a0c75b42e3f379cc to your computer and use it in GitHub Desktop.
PHP first day of the week. Return today if Monday
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
| echo date('Y-m-d', strtotime('last monday', strtotime('tomorrow'))); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment