RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
DateUtils.EndOfAYear Function

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

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

DateUtils

EndOfAYear returns the last expressible moment (December 31 at 11:59:59.999 PM) 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!