System.DateUtils.IsInLeapYear

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function IsInLeapYear(const AValue: TDateTime): Boolean;

C++

extern DELPHI_PACKAGE bool __fastcall IsInLeapYear(const System::TDateTime AValue);

Properties

Type Visibility Source Unit Parent
function public
System.DateUtils.pas
System.DateUtils.hpp
System.DateUtils System.DateUtils

Description

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

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

See Also


Code Examples