I have a datetime mysql column. I send an insert command with an date format:
YYYYMMDDTHHiiss
The date value was correctly stored as date time format of mysql. Is this the correct way or would it be best practice to send my date in format?:
YYYY-MM-DD HH:ii:ss
Thanks !
source https://stackoverflow.com/questions/67941796/save-different-date-format-into-mysql
No comments:
Post a Comment