Creation-time settings
Like DBCENTURY, DBDATE, and GL_DATE, the GL_DATETIME variable can affect how expressions that include literal time values are evaluated.
For some earlier releases, resetting environment variables can produce inconsistent behavior in check constraints, triggers, fragmentation expressions, UDRs, and other database objects whose definitions include time expressions. Objects created in this release use the environment variable settings that were in effect at the time when the object was created, rather than the settings at the time of execution (if these settings are different) to avoid inconsistency.