MySQL DATE() FunctionThe date() is a MySQL date/time function. It is used to get the date from given date/datetime. SyntaxParameter:expression: date/datetime value to be extracted. ReturnsThis function will return NULL if the expression is not a date or a datetime value. Example 1Output: Example 2Output:
Next TopicMySQL date/time
|