Programming instructions
Intermec Fingerprint v7.61 – Programmer’s Reference Manual Ed. 7274
Chapter 2 Program Instructions
WEEKDAY$
Field of Application
 Returning the name of the weekday from a specifi ed date.
Syntax WEEKDAY$(<sexp>)
<sexp> is the date for which the name of the weekday, according 
to a list of weekday names created by means of NAME 
WEEKDAY$ statement , will be returned.
Remarks
 This  function  returns the  name  of  the weekday  according to  a  list  of 
weekday names specifi ed by means of NAME WEEKDAY$ statement 
or–if the name is missing–the full English name in lowercase characters, 
for example “friday". 
 YY  =  Year  Last two digits  (for example 2000 = 00)
 MM  =  Month  Two digits  (01-12)
 DD  =  Day  Two digits  (01-28|29|30|31)
 Example: December 1, 2000 is entered as "001201".
 The built-in calendar corrects  illegal values for the years  1980-2048, for 
example the illegal date 001232 will be corrected to 010101.
Example
 This  example shows  how  to  make  the  printer  return  the  name  of  the 
weekday as a three-letter English abbreviation in connection with a 
formatted date:
  10   FORMAT DATE$ ", MM/DD/YY"
  20   DATE$="001201"
  30   NAME WEEKDAY$ 1, "Mon"
  40   NAME WEEKDAY$ 2, "Tue"
  50   NAME WEEKDAY$ 3, "Wed"
  60   NAME WEEKDAY$ 4, "Thu"
  70   NAME WEEKDAY$ 5, "Fri"
  80   NAME WEEKDAY$ 6, "Sat"
  90   NAME WEEKDAY$ 7, "Sun"
  100   PRINT WEEKDAY$ (DATE$) + DATE$("F")
  RUN  
  yields:
  Fri, 12/01/00










