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