RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
DateUtils.StartOfAYear Function

Returns a TDateTime that represents the first moment on the first day of a specified year.

Pascal
function StartOfAYear(const AYear: Word): TDateTime;
C++
TDateTime StartOfAYear(const Word AYear);

DateUtils

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

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!