How do I change this format "11/16/2002 12:00:00 PM
" to something that MySQL will understand without using PHP?
I've tried SELECT CONVERT('11/03/2002 02:45:33 PM', DATETIME) AS datetime;
and I just get NULL
How do I change this format "11/16/2002 12:00:00 PM
" to something that MySQL will understand without using PHP?
I've tried SELECT CONVERT('11/03/2002 02:45:33 PM', DATETIME) AS datetime;
and I just get NULL
Copyright © 2021 Jogjafile Inc.
You can use a STR_TO_DATE function -
or