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