| Oracle Call Interface Programmer's Guide Release 2 (9.2) Part Number A96584-01 |
|
OCI Datatype Mapping and Manipulation Functions, 48 of 134
Converts a date from one time zone to another.
sword OCIDateZoneToZone ( OCIError *err, CONST OCIDate *date1, CONST OraText *zon1, ub4 zon1_length, CONST OraText *zon2, ub4 zon2_length, OCIDate *date2 );
The OCI error handle. If there is an error, it is recorded in err and this function returns OCI_ERROR. Obtain diagnostic information by calling OCIErrorGet().
Date to convert.
Zone of input date.
Length in bytes of zon1.
Zone to be converted to.
Length in bytes of zon2.
Converted date (in zon2).
Converts a given date date1 in time zone zon1 to a date date2 in time zone zon2. Works only with North American time zones.
For a list of valid zone strings, refer to the description of the NEW_TIME function in the Oracle9i SQL Reference. Examples of valid zone strings include:
This function returns an error if an invalid date or time zone is passed to it.
|
![]() Copyright © 1996, 2002 Oracle Corporation. All Rights Reserved. |
|