Indicates whether this date falls in a leap year.
dateTimeas nullable any) as nullable any
Indicates whether the given datetime value
dateTime falls in is a leap year.
Determine if the year 2012, as represented by
#date(2012, 01, 01) is a leap year.
Date.IsLeapYear(#date(2012, 01, 01))