RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
DateUtils.IsInLeapYear Function

Indicates whether a specified TDateTime value occurs in a leap year.

Pascal
function IsInLeapYear(const AValue: TDateTime): Boolean;
C++
Boolean IsInLeapYear(const TDateTime AValue);

DateUtils

Call IsInLeapYear to determine whether the year of the date specified by AValue occurs in a leap year. 

 

Date 

IsLeapYear

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!