Oracle® Objects for OLE Developer's Guide 10g Release 1 (10.1) Part Number B10118-01 |
|
Applies To
Description
Returns a copy of the OraTimeStamp object that has the date time value normalized to the session time zone of the current OraTimeStampTZ object.
Arguments
None.
Usage
Set OraTimeStampObj = OraTimeStampTZObj.ToOraTimeStampLTZ
Remarks
Returns a new OraTimeStamp object that has the date time values normalized to the session time zone of the current OraTimeStampTZ object.
Example
Dim OraTimeStampTZ As OraTimeStampTZ
...
'Create OraTimeStampTZ using a string
Set OraTimeStampTZ = OraSession.CreateOraTimeStampTZ("2003-APR-29
12:00:00 -07:00", "YYYY-MON-DD HH:MI:SS TZH:TZM")
'Assuming that the Session Time Zone is "-08:00"
'returns a new OraTimeStamp object with date value normalized to
'session Time Zone, "2003-APR-29 11:00:00"
Set OraTimeStamp = OraTimeStampTZ.ToOraTimeStampLTZ
...