Lưu ý
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử đăng nhập hoặc thay đổi thư mục.
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử thay đổi thư mục.
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, ordatetimezonevalue to be evaluated.
Example
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