Marktronic User Guide 7-1
7. TIME AND DATE FUNCTIONS
Introduction
The controller has a real-time clock that provides time and date information. This
information can be incorporated in a layout in many different ways.
Setting time/date and date format
To set the time and date select F1) Time/date from the Configuration menu. To
select the appropriate date format select F6) Various from the Configuration menu.
Time/date in a layout
Live time/date information may be placed in a line of text by incorporating special
commands in the Text and setting the line parameter Contents to Time/date. The
commands are:
Command Value
$HOUR$ Hour 00-23.
$MINUTE$ Minute 00-59.
$SECOND$ Second 00-59.
$DATE$ Date 01-31.
$MONTH$ Month 01-12.
$YEAR$ Year without century 00-99.
$CENTURY$ Century 19-20.
$DOW$ Day of week name MON-SUN.
$MOY$ Month of year name JAN.-DEC.
$DOY$ Day of year 001-366.
$WEEK$ Week number 01-52. First day of the week is Monday,
week 1 is the first week with at least 4 days in it. Last
week is 52, carried forward to start of new year.
$MONTH-CODE$ Month code letter (configurable).
$YEAR-CODE$ Year code letter (configurable).
$SHIFT-CODE$ Shift code letter (configurable).
$YEAR-UNITS$ Year units digit 0-9.
$JULIAN$ Counts each day of the year as a 2 digit alpha code. Jan
01 = AA, Jan 02 = AB, up to Dec 31 = OA (non leap year)
$DOW-UNIT$ Monday = 1, Sunday = 7
$SHIFT-TEXT$ Used to mark variable data configured in the Advanced
Shift code feature.
$DOM-UNIT$ Single digit day of month code. 1
st
= A, 2
nd
= B, 26
th
= Z,
27
th
= 1, 28
th
= 2 etc.
A layout with the text "$HOUR$:$MINUTE$ on
$DOW$ $DATE$ $MONTH$" would mark for
example as "15:27 on WED 17 APR" giving the
values from the real-time clock.
Month and Year codes
Each month can be configured to have a particular
letter or year associated with it, and each year can