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);

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

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!