DATEMODE
Date Mode

DATEMODE

Date Mode

Allows you to set the format for displaying the real-time clock in either the month, day, year
format or the day, month, year format.
Syntax
XDATEMODE
Equivalent Softkey:
DATENODE
MDY DMY .
Example 1
OUTPUT
718;"DATEMODE
DMY;"
Sets the
date
mode
to
day,
month, yearformat.
OUTPUT
718;"DATEMODE?;"
Queries the
format
of the display of the real-time clock.
ENTER
718;A$
DISP A$
Example 2
OUTPUT
718;"VARDEF
T-EMP,O;"
OUTPUT
718;"DATEMODE
DMY;"
OUTPUT
718;"MOV
T,EMP,DATEMODE?;"
OUTPUT
718;"T,EMP?;"
ENTER
718;A
DISP A
Description
Creates a variable.
Sets the
date
mode
to
day,
month, year format.
Queries the format of the display of the real-time
clock as a
preo!@ned
variable.
Gets the result.
When used as a predefined variable,
DATEMODE
returns a “0” if
DATEMODE
has been set to
MDY. A
U
1
n
if
DATEMODE
has been set to DMY. See example 2.
Query Response
output
termfnation
+
ODATEMODE
Programming Commands 5-127