System.DateUtils.StartOfAYear

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function StartOfAYear(const AYear: Word): TDateTime;

C++

extern DELPHI_PACKAGE System::TDateTime __fastcall StartOfAYear(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 first moment on the first day of a specified year.

StartOfAYear returns the first expressible moment (January 1 at 12:00:00.000 A.M.) of the year specified by the AYear parameter.

See Also


Code Examples