Currently, I have this time stamp from shopify api (2018-12-16T17:36:29+11:00) that I need to store in a datetime field in mysql.
1st question:
What exactly 2018-12-16T17:36:29+11:00 means?
date: 2018-12-16,
time: 17:36:29,
timezone: +11:00?????
2nd question:
If I want to store the time stamp into a mysql datetime column. I get this error
SQLSTATE[22007]: Invalid datetime format: 1292 Incorrect datetime value: '2018-12-16T17:36:29+11:00' for column 'shopify_created_at' at row 1
What is the correct way to store time with time zone info?