System.DateUtils.DaysInAYear

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function DaysInAYear(const AYear: Word): Word;

C++

extern DELPHI_PACKAGE System::Word __fastcall DaysInAYear(const System::Word AYear);

Properties

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

Description

Returns the number of days in a specified year.

Call DaysInAYear to obtain the number of days in the year specified by AYear. AYear is a year from 1 through 9999 (inclusive).

See Also


Code Examples