How to use TIME type in MySQL?
2 answers
As the MYSQL docs said :
MySQL retrieves and displays TIME values in "HH: MM: SS" format
You should use the TIME datatype to represent the time of day, however to store only the minutes and seconds you need use DATE_FORMAT to format your time in the correct format.
Note that the TIME data type takes up 3 bytes of space.
+1
source to share