DBTIME support

The DATETIME-format functions support the extended era-based date and time format strings for the DBTIME environment variable.

When you set DBTIME to an era-based format, these functions can convert between literal DATETIME strings and internal DATETIME values.
Tip: HCL® OneDB® products support DBTIME for compatibility with earlier products. It is recommended that you use the GL_DATETIME environment variable for new applications.

If you set DBTIME to an era-based DATETIME format (which is specific to a Chinese or Japanese locale), make sure to set the CLIENT_LOCALE environment variable to a locale that supports era-based dates and times.