MySQL takes dates as YYYY-M-D for example if you do this :
Select date("2012-9-6");
it will give :
2012-09-06
but if you do this :
Select date("6/9/2012");
it will give :
null
now my question is :
is there a method in MySQL to accept dates in custom formats ??
something like :
select date("6/9/2012","d/m/yyyy"); -- That gives : 2012-09-06 NOT null
This one works. But the order is month/day/year
More info in the manual.