[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
SET DATE
SET DATE determines the format for date displays.
Syntax
SET DATE AMERICAN/ANSI/BRITISH/FRENCH/GERMAN/ITALIAN
Defaults
DATE is normally SET to AMERICAN.
Usage
SET DATE allows more flexibility in date output.
+---------------------------------+
| AMERICAN | mm/dd/yy |
| ANSI | yy.mm.dd |
| BRITISH/FRENCH | dd/mm/yy |
| GERMAN | dd.mm.yy |
| ITALIAN | dd-mm-yy |
+---------------------------------+
To configure a compiled application to the proper date setting at
runtime, pass a DOS environmental variable to your application program,
retrieve its value with GETE() and SET DATE with this value. For
example, in DOS:
SET CLIP_DATE=BRITISH
Later in the configuration section of your application program:
date_set = UPPER(GETE("CLIP_DATE"))
DO CASE
CASE date_set = "AMERICAN"
SET DATE AMERICAN
CASE date_set = "ANSI"
SET DATE ANSI
CASE date_set = "BRITISH"
SET DATE BRITISH
...
See Also:
SET CENTURY
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson