Oracle® Objects for OLE Developer's Guide 11g Release 2 (11.2) for Microsoft Windows Part Number E12245-01 |
|
|
View PDF |
Applies To
Description
Checks if the OraTimeStampTZ
object is equal to an argument.
Usage
isEqual = OraTimeStampTZOb.IsEqual value, format
Arguments
The arguments for the method are:
Arguments | Description |
---|---|
[in ] value |
A Variant of type String , Date , or OraTimeStampTZ to be compared. |
[in ] [optional] format |
Specifies the TIMESTAMP WITH TIME ZONE format string to be used to interpret value when value is type String . If format is not specified, value is interpreted using the Format property of the current OraTimeStampTZ object. |
Remarks
Returns a Boolean value: The value is True
if the OraTimeStampTZ
object is equal to the argument; otherwise, it is False
. The IsEqual
method only compares the Coordinated Universal Time (UTC) date-time values stored in the OraTimeStampTZ
object; the time zone information is ignored.
Note:
UTC was formerly known as Greenwich Mean Time.)If value
is of type String
, the string format must match the format specified in the format
argument. If format
is not specified, the string format must match the Format
property of the current session OraTimeStampTZ
object.
If value
is of Date
type, the date-time value in Date
is interpreted as the date-time value in the time zone of the session.