Query to convert from datetime to date mysql

后端 未结 5 751
春和景丽
春和景丽 2020-12-29 18:00

I am trying to get the date portion of a datetime field. I know I can get it with date_format, but that returns a string or \"varchar\" field. How can I convert the result t

5条回答
提交回复
热议问题