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 less than an argument.
Usage
isLess = OraTimeStampTZObj.IsLess value, format
Arguments
The arguments for the method are:
Arguments | Description |
---|---|
[in ] value |
A Variant of type String , Date , or OraTimeStampTZ . |
[[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 less than the argument; otherwise, it is False
. IsLess
only compares the UTC date-time values stored in the OraTimeStampTZ
object; the time zone information is ignored.
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 OraTimeStampTZ
object.
If value
is of type Date
, the date-time value in Date
is interpreted as the date-time value in the time zone of the session.