Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个像这样的字符串“Fri Apr 06 02:28:41 2012”,如何使用 MySQL 将其转换为 YYYY-mm-dd 格式
SELECT STR_TO_DATE('Fri Apr 06, 02:28:41 2012','%W %M %d, %H:%i:%s %Y');