Skip Headers

Oracle® Objects for OLE Developer's Guide
10g Release 1 (10.1)

Part Number B10118-01
Go to Documentation Home
Home
Go to Book List
Book List
Go to Table of Contents
Contents
Go to Master Index
Master Index
Go to Feedback page
Feedback

TotalDays

See Also

Applies To

OraIntervalDS

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.
Usage

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