RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
DateUtils.DaysPerYear Constant

DaysPerYear represents the number of days in a year.

Pascal
DaysPerYear: array [Boolean] of Word = (365, 366);
C++
array [Boolean] of Word DaysPerYear = (365, 366);

DaysPerYear is an array that indicates the number of days in a year in the Gregorian calendar. DaysPerYear has the value 366 for a leap year and 365, otherwise. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!