Question: Perform a web search and explain how TIMESTAMP datatype works in MySQL. Let us conduct a thought experiment to better understand the TIMESTAMP data type.
Perform a web search and explain how TIMESTAMP datatype works in MySQL. Let us conduct a thought experiment to better understand the TIMESTAMP data type. Let say we inserted 2019-01-31 15:00:00 into a column with a TIMESTAMP data type. Assume that the server was in the EST (-5) time zone when we inserted the data, and then, we changed the time zone of the server to CDT (-6) and read the inserted data again. What would be the returned value? Would we observe the same stored date/time value or a different one?
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
