# DATE-FORMAT
Read Time: 1 minute(s)
# Description
The DATE-FORMAT command sets or resets the jBASE international date format flag - used when formatting dates for output by jBASE programs. The command takes the general form:
DATE-FORMAT (Options
1
where option may be:
- I - set to international date formatting, i.e. dd/mm/yy
- D - set to default language formatting, i.e. mm/dd/yy
If no options are specified, the command will default to the default language format. An example of use may be as:
CRT OCONV(11000,"D2/")
1
to display 02/11/98
or
jsh jim ~ -->DATE-FORMAT (I
CRT OCONV(9822,"D2/")
1
2
2
to display 11/02/98
# Note
The availability of the JBASE_LOCALE environment variable makes this utility redundant in jBASE 5.
See also JBASE_LOCALE
See also JBASE_PIVOT_YEAR
Back to Tools and Utilities