MySQL
SELECT STR_TO_DATE('20/03/2013', '%d/%m/%Y') FROM dual;
Microsoft SQL server
SELECT CONVERT(datetime, '20/03/2013', 103);
List of date & time style codes: http://msdn.microsoft.com/en-us/library/ms187928.aspx
SELECT STR_TO_DATE('20/03/2013', '%d/%m/%Y') FROM dual;
SELECT CONVERT(datetime, '20/03/2013', 103);
List of date & time style codes: http://msdn.microsoft.com/en-us/library/ms187928.aspx
Add new comment