Reference > TDBDTCalcX Object > TDBDTCalcX Object Methods > GetTotals Method (TDBDTCalcX) |
GetTotals Method (TDBDTCalcX)
The GetTotals method returns a Double type value for the total amount of intervals specified. If set the interval argument to 5-Minutes (Time) or 6-Seconds (Time), the total minutes and the total seconds will be calculated only within the time information.
object.GetTotals ([Interval])
Arguments
interval is an optional constant that determines the interval of time you want to add or subtract.
The interval argument has these settings:
0 |
Months |
1 |
Days (Default) |
2 |
Hours |
3 |
Minutes |
4 |
Seconds |
5 |
Minutes (Time) |
6 |
Seconds (Time) |
Double
The days that make up one month is determined by the DaysPerMonth property and hours that make up one day can be specified by the HoursPerDay property.
See Also