Creating Date/Time Values
Learn how to create date and time values in MySQL.
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.