I come up with an error while inserting the following data into MySQL. How can I fix it?
ERROR 1292: Incorrect datetime value: \'17/07/2013 18:33:55\' for column \'TimeS
In MySql dates should be inserted in yyyy-mm-dd format
yyyy-mm-dd
Try using the format:
2013-07-17 17:18:55
Full Insert Statement:
INSERT INTO wngtest.sitereading (idSiteReading, TimeStamp, SiteLocation, Flow, Temperature1, Temperature2) VALUES ('1', '2013-07-17 18:33:55', 'WNGSite1', '13.1', '81', '45');