STR_TO_DATE in MySQL in INSERT query returns null -
the following select returns null.
select str_to_date('27/09/2016 17.51.55','%d/%m/%y %h%i%s');
i tried adding dots between '%h%i%s', same result.
can show me wrong here?
try this
select str_to_date('27/09/2016 17.51.55','%d/%m/%y %h.%i.%s');
Comments
Post a Comment