MySQL DAY() FunctionThe day() is a MySQL date/time function. It is used to get the day from the given date. SyntaxParameter:date_value: date for getting day. ReturnsThis function returns the day of the month (a number from 1 to 31) given a date value. Example 1Output: Example 2Output:
Next TopicMySQL date/time
|