RawSushi's Tech Journal
My online tech scrapbook where I keep my notes in case I need to look them up later
Friday, June 1, 2012
MySQL: Convert String to Date
E.g. SELECT STR_TO_DATE('10-12-2012','%d-%m-%Y');
Reference:
http://dev.mysql.com/doc/refman/5.5/en/d
ate-and-time-functions.html#function_str-t
o-date
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment