Home | Previous Page | Next Page   Data Manipulation > Using Date and Time Data Types > Date Data >

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
is the 2-digit month.
dd
is the 2-digit day of the month.
yyyy
is 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.

Global Language Support

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, U.S. English. A nondefault locale can define an end-user format that is particular to a country or culture outside the U.S. You can also customize the end-user format of a date with the GL_DATE environment variable. For more information, see the IBM Informix: GLS User's Guide.

End of Global Language Support
Home | [ Top of Page | Previous Page | Next Page | Contents | Index ]