System.DateUtils.DaysInYear

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function DaysInYear(const AValue: TDateTime): Word;

C++

extern DELPHI_PACKAGE System::Word __fastcall DaysInYear(const System::TDateTime AValue);

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 the year of a specified TDateTime value.

Call DaysInYear to obtain the number of days in the year of the TDateTime value specified by AValue.

See Also


Code Examples