Oracle® Objects for OLE Developer's Guide 10g Release 1 (10.1) Part Number B10118-01 |
|
Applies To
Description
Gets and sets the total number of days that this OraIntervalDS object represents.
Arguments
[in] totalDays |
A Variant type of any numeric value or OraNumber specifying the OraIntervalDS as the total number of days. |
totalDays = OraIntervalDSObj.TotalDays
OraIntervalDSObj.TotalDays = totalDays
Datatype
Double
Example
Dim oraIDS as OraIntervalDS
'Create an OraIntervalDS using a string which represents
'1 day and 12 hours
Set oraIDS = oo4oSession.CreateOraIntervalDS("1 12:0:0.0")
'totalDays is set to 1.5 which represents an interval
'of 1.5 days
totalDays = oraIDS.TotalDays