dayofyear()
Returns the integer number represents the day number of the given year.
Syntax
dayofyear(
date)
Learn more about syntax conventions.
Parameters
Name | Type | Required | Description |
---|---|---|---|
date | datetime |
✔️ | The datetime for which to determine the day number. |
Returns
The day number of the given year.
Example
dayofyear(datetime(2015-12-14))
Output
result |
---|
348 |
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for