Oracle Application Express (MOSC)

MOSC Banner

OCIDateTimeConstruct function is not accepting timezone value

edited Jul 23, 2024 12:39PM in Oracle Application Express (MOSC) Question

Hello team,

In our c++ source code, we are using OCIDateTimeConstruct function and we are trying to add timezone value, then the application is returning below error

The OCI function OCIDateTimeConstruct returned status -1. Error code: 1882, Error message: ORA-01882: timezone region not found.

We are passed the different timezone formats as "+08:00" or "+0800". But with both values application is throwing ORA-01882 error.

But, as per documentation, we are passing right values. Not sure, where it went wrong.

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center