MySQL Date/Time week() FunctionThe week() is a MySQL date/time function. It is used to get the week portion from given date. SyntaxParameter:Date_value : date for getting week Mode : it is optional. It is used to specify what day the week starts on. It can be one of the following:
Returns:This function returns the week portion of a date value. Example 1Output: Example 2Output: Next TopicMySQL datetime |
We provides tutorials and interview questions of all technology like java tutorial, android, java frameworks
G-13, 2nd Floor, Sec-3, Noida, UP, 201301, India