RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
DateUtils.DaysInAYear Function

Returns the number of days in a specified year.

Pascal
function DaysInAYear(const AYear: Word): Word;
C++
Word DaysInAYear(const Word AYear);

DateUtils

Call DaysInAYear to obtain the number of days in the year specified by AYear. AYear is a year between 1 and 9999 (inclusive). 

 

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