Date Functions - CAB A+ Series Programming Manual

Hide thumbs Also See for A+ Series:
Table of Contents

Advertisement

Date Functions

286
Date functions
Date functions are used to recall the date from the internal real time clock which is available in each
printer. Additional date calculation options allow to modify the date stamp with added or subtracted
days, months or years, i. e. to calculate "best before" dates.
Special note:The printers calculate months always as 30 days.
Please remember that it is possible to connect the printers with a time server to get the fully accuracy
of time and date.
[DATE{:+DD{,+MM{,+YY}}}]
[DAY{:+DD{,+MM{,+YY}}}]
[DAY02{:+DD{,+MM{,+YY}}}]
[DOFY{:+DD{,+MM{,+YY}}}]
[ISODATE{:+DD{,+MM{,+YY}}}]
[ISOORDINAL{:+DD{,+MM{,+YY}}}]
[ODATE:+DD{,+MM{,+YY}}]
[wday{:+DD{,+MM{,+YY}}}]
[WDAY{:+DD{,+MM{,+YY}}}]
[wday2{:+DD{,+MM{,+YY}}}]
[wday3{:+DD{,+MM{,+YY}}}]
[ISOWDAY{:+DD{,+MM{,+YY}}}]
[WEEK{:+DD{,+MM{,+YY}}}]
[WEEK02{:+DD{,+MM{,+YY}}}]
[OWEEK:+WW]
[mon{:+DD{,+MM{,+YY}}}]
[month{:+DD{,+MM{,+YY}}}]
[MONTH{:+DD{,+MM{,+YY}}}]
[MONTH02{:+DD{,+MM{,+YY}}}]
[YY{:+DD{,+MM{,+YY}}}]
[YYYY{:+DD{,+MM{,+YY}}}]
cab Produkttechnik GmbH & Co KG
Print actual
DATE
in the format of the preset country
Print numeric
DAY
of the month (1-31)
Print numeric 2-digit
DAY
Print numeric Day
OF
Year(1-366)
Print
ISO date
Print
ISO ordinal
Print
DATE
with Offset (in the format of the preset country)
Print complete
weekday
name (0 = sunday)
Print numeric WeekDAY(0-6)
Print
weekday
name,
2
- digits shortened (i.e. su)
Print
weekday
name,
3
- digits shortened (i.e. sun)
Print numeric WeekDAY(1-7)
Print numeric
WEEK
(1-53)
Print numeric
WEEK
with
Print
WEEK
with Offset(1-53)
Print 3-character month name (i.e. jan)
Print complete
month
name (i.e. january)
Print 2-digit
MONTH
(1-12)
Print 02-digit
MONTH
(01-12) (leading zeros, always 2 digits)
Print 2-digit Year (00-99)
Print 4-digit Year (1970-2069)
of the month (01-31)
2
-digits (01-53)
286
286

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mach 4PxXd4

Table of Contents