System.DateUtils.EndOfAYear

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function EndOfAYear(const AYear: Word): TDateTime;

C++

extern DELPHI_PACKAGE System::TDateTime __fastcall EndOfAYear(const System::Word AYear);

Properties

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

Description

Returns a TDateTime that represents the last millisecond of a specified year.

EndOfAYear returns the last expressible moment (December 31 at 11:59:59.999 P.M.) of the year specified by the AYear parameter.

See Also


Code Examples