適用対象
説明
OraIntervalDS
オブジェクトが表す合計日数を取得および設定します。
使用方法
totalDays = OraIntervalDSObj.TotalDays OraIntervalDSObj.TotalDays = totalDays
引数
引数 | 説明 |
---|---|
[in ] totalDays |
OraIntervalDS オブジェクトを合計日数として指定するVariant 型の数値またはOraNumber オブジェクト。 |
データ型
Double
例
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