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