83
MySQL DAYOFYEAR() Function
The dayofyear() is a MySQL date/time function. It is used to get the number of day of the year.
Syntax
Parameter:
Date: date value for getting a day of the year.
Returns
This function returns day of the year for a date value.
Example 1
Output:
Example 2
Output:
Next TopicMySQL date/time