System.DateUtils.ApproxDaysPerYear
Delphi
ApproxDaysPerYear: Double = 365.25;
C++
extern DELPHI_PACKAGE double ApproxDaysPerYear;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
variable | public | System.DateUtils.pas System.DateUtils.hpp |
System.DateUtils | System.DateUtils |
Description
ApproxDaysPerYear represents the approximate number of days in a year, over a normal four-year period.
Use ApproxDaysPerYear when calculating the number of days in a large number of years. This approximation is accurate for the next century.