Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Note
Community interest groups have now moved from Yammer to Microsoft Viva Engage. To join a Viva Engage community and take part in the latest discussions, fill out the Request access to Finance and Operations Viva Engage Community form and choose the community you want to join.
The DAYOFYEAR function returns an Integer value that represents the number of days between January 1 and the specified date.
Syntax
DAYOFYEAR (date) as Integer
Arguments
date: Date
A date value that represents the date to use for the calculation of the number of days.
Return values
Integer
The resulting numeric value.
Example 1
DAYOFYEAR (DATEVALUE ("01-03-2016", "dd-MM-yyyy")) returns 61.
Example 2
DAYOFYEAR (DATEVALUE ("01-01-2016", "dd-MM-yyyy")) returns 1.