Oracle® Objects for OLE Developer's Guide 11g Release 2 (11.2) for Microsoft Windows Part Number E17727-03 |
|
|
PDF · Mobi · ePub |
Returns a copy of the OraTimeStamp
object that has the date-time value in the specified time zone of the current OraTimeStampTZ
object.
Returns a copy of the OraTimeStamp
object from an OraTimeStampTZ
object.
Set OraTimeStampObj = OraTimeStampTZObj.ToOraTimeStamp
Returns a new OraTimeStamp
object that has the date-time values in the specified time zone of the current OraTimeStampTZ
object.
Dim OraTimeStampTZ As OraTimeStampTZ ... 'Create OraTimeStampTZ using a string Set OraTimeStampTZ = OraSession.CreateOraTimeStampTZ("2000-12-28" & _ "12:10:23.444 -07:00", "YYYY-MM-DD HH:MI:SS.FF TZH:TZM") 'returns a new OraTimeStamp object with date value equal to ' "2000-12-28 12:10:23.444" 'note that Time Zone portion is dropped Set OraTimeStamp = OraTimeStampTZ.ToOraTimeStamp