MySQL DAYOFYEAR() FunctionThe dayofyear() is a MySQL date/time function. It is used to get the number of day of the year. SyntaxParameter:Date: date value for getting a day of the year. ReturnsThis function returns day of the year for a date value. Example 1Output: Example 2Output:
Next TopicMySQL date/time
|