Programming instructions

98
Intermec Fingerprint 6.13 – Programmer's Guide
9. DATA HANDLING, cont'd.
3. Date and Time
The printer's CPU board is provided with an internal clock/calendar
without battery backup, i.e. the setting will be lost when the printer
is turned off.
Fingerprint-compatible EasyCoder printers may also be fitted with
a real-time clock circuit (RTC) in a socket on the CPU board. The
RTC is battery backed-up and will keep on running even when the
printer is turned off.
If no RTC is installed and you try the read the date or time before
the internal clock has been set, an error will occur (error 1010
“Hardware Error”). Once either time or date has been set, the
internal clock will work until next power off or reboot. If only time
has been set, by default the current date will be Jan 01 1980 and if
only date has been set, by default the clock will start running at
00:00:00.
The built-in calendar runs from 1980 through 2048 and corrects
illegal values automatically, e.g. 981232 will be corrected to
990101.
Please refer to chapter 15.5 for information on how to set the
printer's clock/calendar.
The standard formats for date and time are:
Date: YYMMDD, where...
YY are the two last digits of the year
MM are two digits representing the month (01–12)
DD are two digits representing the day (01–28|29|30|31)
Time: HHMMSS where...
HH are two digits representing the hour (00-23)
MM are two digits representing the minute (00-59)
SS are two digits representing the second (00-59)
In addition to the standard formats, other formats for date and time
can be specified by the following instructions:
FORMAT DATE$ Specifies the format of date strings re-
turned by DATE$ and DATEADD$ in-
structions.
FORMAT TIME$ Specifies the format of date strings re-
turned by TIME$ and TIMEADD$ in-
structions.
NAME DATE$ Specifies the names of the months.
NAME WEEKDAY$ Specifies the names of the weekdays.
Continued!