Mega Code Archive

 
Categories / MySQL / Date Time
 

The DATE and TIME data types use the following format

YYYY-MM-DD HH:MM:SS where: YYYY represents the year MM represents the month DD represents the day HH represents the hour MM represents the minute SS represents the second