Date.Year
Date.Year(dateTime as any) as nullable number
About
Returns the year component of the provided datetime
value, dateTime
.
Example 1
Find the year in #datetime(2011, 12, 31, 9, 15, 36).
Usage
Date.Year(#datetime(2011, 12, 31, 9, 15, 36))
Output
2011
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