Created
October 30, 2018 12:55
-
-
Save eiryu/cc881447f09c2f537d8745b144da36ce to your computer and use it in GitHub Desktop.
MySQLでtimestampをdateに変換する
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
mysql> select date_format(now(), '%Y-%m-%d'); | |
+--------------------------------+ | |
| date_format(now(), '%Y-%m-%d') | | |
+--------------------------------+ | |
| 2018-10-30 | | |
+--------------------------------+ | |
1 row in set (0.00 sec) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment