Comments - Datetime format YYYYMMDD hh:mm:ss.fff

3 years ago happy said

thank you for your answer, but what I need is not to change the insert query that I am using, if there is an option in the Database that allows us to change the time format it will be easier.

 
3 years ago Jan Steinman

Can't do that, as you've been told several times.

It's time for "Plan B."

People who ask for advice shouldn't have a foregone conclusion that they're stuck on.

 
3 years ago Ian Gilfillan

No, since what you are attempting to insert is not a valid datetime, the only other alternative would be to make the field a string.

 
Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.