Date text representation
The DataBlade
API supports
a date value in text representation as a quoted string with the following
format:
"mm/dd/yyyy"
- mm
- The 2-digit month.
- dd
- The 2-digit day of the month.
- yyyy
- The 4-digit year.
A date value in its text representation is often called a date
string. For example, the following date string contains the value
for July 12, 1999 (for the default locale):
"7/12/1999"
You can change the format of the date string with the DBDATE environment variable.
A locale defines the end-user format of a date. The end-user format is the format in which data appears in a client application when the data is a literal string or character variable. The preceding date string is the end-user format for the default locale, US English. A nondefault locale can define an end-user format that is particular to a country or culture outside the US. You can also customize the end-user format of a date with the GL_DATE environment variable. For more information, see the HCL Informix® GLS User's Guide.