What is the difference between MySQL DATETIME and TIMESTAMP data type?
Answers
Answered by
0
hello mate!!
TIMESTAMP is four bytes vs eight bytes for DATETIME. Timestamps are also lighter on the database and indexed faster. The DATETIME type is used when you need values that contain both date and time information. MySQL retrieves and displays DATETIME values in 'YYYY-MM-DD HH:MM:SS' format
Similar questions