Creating Date/Time Values

MySQL provides five data types for temporal values, i.e., DATE, TIME, DATETIME, TIMESTAMP, and YEAR. To work with these data types, we must first create corresponding values. For that purpose, we work with the following table:

Get hands-on with 1400+ tech skills courses.