Date.IsLeapYear
Syntax
Date.IsLeapYear(dateTime as any) as nullable logical
About
Indicates whether the given datetime value dateTime
falls in is a leap year.
dateTime
: Adate
,datetime
, ordatetimezone
value to be evaluated.
Example 1
Determine if the year 2012, as represented by #date(2012, 01, 01)
is a leap year.
Usage
Date.IsLeapYear(#date(2012, 01, 01))
Output
true
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