38
UBI EasyCoder 301 Direct Protocol – Programmer's Guide Ed. 1
Chapter 4 Label Design
9. Printable Data
Commands,
cont'd.
TIMEADD$ (["<original time>",]<number of sec's>[,"F"])
Adds or subtracts a certain number of seconds to the current time
or optionally to a specified moment of time.
<original time>
optional; it is entered in the standard date
format
"HHMMSS"
. Note that the original
time must be enclosed by double quotation
marks.
<number of secs>
the number of seconds to be added to or sub-
tracted from the current time or, optionally,
the moment of time specified by <original
time>. In case of subtraction, the <number
of secs> should be preceded by a minus sign
(-).
<"F">
an optional flag specifying that the result
should be returned in the format specified by
FORMAT
TIME$
instead of the standard for-
mat
HHMMSS
.
Example:
PT TIMEADD$("123026",100,"F")
↵