标签: mysql
select str_to_date ( '%e %b %Y','14 Aug 1987' )
我甚至试过'%d%b%Y'
提到http://dev.mysql.com/doc/refman/5.1/en/date-and-time-functions.html
答案 0 :(得分:3)
因为“STRING”到“DATE”...把字符串放在第一位......
select str_to_date ( '14 Aug 1987','%e %b %Y' )