Precedence for date display formats

The HCL OneDB™ ESQL/C DATE-format functions use a precedence to determine the display format for values in DATE columns:

The precedence is as follows:
  1. The display format that DBDATE specifies (if DBDATE is set)
  2. The display format that GL_DATE specifies (if GL_DATE is set)
  3. The display date format that the client locale specifies (if CLIENT_LOCALE is set)
  4. The display date format from the default locale: %m %d %iY
Tip: HCL OneDB products support DBDATE for compatibility with earlier products. It is recommended that you use the GL_DATE environment variable for new client applications.