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

IsEqual (OraTimeStampTZ) Method

Applies To

OraTimeStampTZ Object

Description

Checks if the OraTimeStampTZ is equal to an argument.

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 current OraTimeStampTZ's Format property.

Usage

isEqual = OraTimeStampTZOb.IsEqual value, format

Remarks

Returns a Boolean value: True if the OraTimeStampTZ is equal to the argument, false otherwise. IsEqual only compares the UTC date time values stored in the OraTimeStampTZ object; the time zone information is ignored.

If the 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 session current OraTimeStampTZ's Format property.

If the value is of Date type, the date time value in Date is interpreted as the date time value in the session time zone.