Accessing Date/Time Values
Learn the ways for accessing date and time values in MySQL.
We'll cover the following
MySQL allows us to create temporal values through literal strings or one of the various functions readily available, e.g., CURTIME()
, MAKEDATE()
, or NOW()
. However, the creation is only one part of working with temporal values. Consequentially, we want to access the created values as easily as possible. For demonstration purposes, we want to refer to the table from our running example:
Get hands-on with 1400+ tech skills courses.