| Oracle® Objects for OLE Developer's Guide 11g Release 2 (11.2) for Microsoft Windows Part Number E12245-01 |
|
|
View PDF |
Applies To
Description
Gets and sets the total number of days that this OraIntervalDS object represents.
Usage
totalDays = OraIntervalDSObj.TotalDays OraIntervalDSObj.TotalDays = totalDays
Arguments
| Arguments | Description |
|---|---|
[in] totalDays |
A Variant type of any numeric value or an OraNumber object specifying the OraIntervalDS object as the total number of days. |
Data Type
Double
Examples
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
See Also:
OraNumber Object