Precedence for date display formats
The DATE-format functions use a precedence to determine the display format for values in DATE columns:
The precedence is as follows:
- The display format that DBDATE specifies (if DBDATE is set)
- The display format that GL_DATE specifies (if GL_DATE is set)
- The display date format that the client locale specifies (if CLIENT_LOCALE is set)
- 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.