Created
April 16, 2020 11:06
-
-
Save mrLexx/45e41f6fa1dbaebb1c3176eb21dff36a to your computer and use it in GitHub Desktop.
First and Last day of month on mysql
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
select DATE_FORMAT(now(),'%Y-%m-01'),LAST_DAY(now()); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment