ComponentOne True DBInput Pro 8.0
GetTotals Method (TDBDTCalcX)

 

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.

Syntax

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)

Return Value

Double

Remarks

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

Years Property (TDBDTCalcX)

Months Property (TDBDTCalcX)

Day Property (TDBDateX)

Hours Property (TDBDTCalcX)

Minutes Property (TDBDTCalcX)

Seconds Property (TDBDTCalcX)

CalcValue Method (TDBDTCalcX)

InitValue Method (TDBDTCalcX)

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Product Support Forum  |  Documentation Feedback