MySQL Date/Time month() FunctionThe month() is a MySQL date/time function. It is used to get the value of month from given datetime or time. SyntaxParameter:Date_value: datetime or time value for getting hour. Returns:This function returns the month portion of a date value. Example 1Output: Example 2Output:
Next TopicMySQL datetime
|