Intermec EasyCoder 501XP Programmer's Reference Manual page 54

Intermec easycoder 501xp: reference guide
Hide thumbs Also See for EasyCoder 501XP:
Table of Contents

Advertisement

Chapter 4 — Label Design
WEEKNUMBER ("<date>"[,<calculating function>])
Returns the weeknumber from a given date or the current date.
<date>
Examples:
PT WEEKNUMBER("041201") ↵
PT WEEKNUMBER(DATE$) ↵
DATEADD$ (["<original date>",]<number of days>[,"F"])
Adds or subtracts a certain number of days to the current date or optionally to a specifi ed date.
<original date>
<number of days>
"F"
Example:
PT DATEADD$("040801",-15,"F") ↵
TIMEADD$ (["<original time>",]<number of sec's>[,"F"])
Adds or subtracts a certain number of seconds to the current time or optionally to a specifi ed moment
of time.
<original time>
<number of sec's>
"F"
Example:
PT TIMEADD$("123026",100,"F") ↵
48
Intermec Direct Protocol v7.80 Programmer's Reference Manual
can be specifi ed in the standard format "YYMMDD" or by a DATE$ instruction.
By default, the week number is calculated according to ISO 8601, but there
are 14 other methods (see Intermec Fingerprint v7.80, Programmer' s Reference
Manual).
is optional and is entered in the standard date format "YYMMDD". Note that
the original date must be enclosed by quotation marks.
specifi es the number of days to be added to or subtracted from the current
date or, optionally, the date specifi ed by <original date>. In case of subtrac-
tion, the <number of days> should be preceded by a minus sign (-).
is an optional fl ag specifying that the result should be returned in the format
specifi ed by FORMAT DATE$ instead of the standard format "YYMMDD."
is optional and is entered in the standard date format "HHMMSS". Note that
the original time must be enclosed by quotation marks.
specifi es the number of seconds to be added to or subtracted from the current
time or, optionally, the moment of time specifi ed by <original time>. In
case of subtraction, the <number of sec's> should be preceded by a minus
sign (-).
is an optional fl ag specifying that the result should be returned in the format
specifi ed by FORMAT TIME$ instead of the standard format "HHMMSS."

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents