Plain English

Downloads a calendar/date format to the printer's real-time clock. Used to define custom date formats for date-stamped labels.

When to use

When your labels include dates and you need a custom date format on printers with a real-time clock.

Syntax

^DCformat,language

Parameters

ParameterDescription
formatDate format string
languageLanguage for month/day names

Example

^XA
^DC0,Y,YYYY-MM-DD
^XZ

Set date format to ISO 8601 style

Try it in the playground View all ZPL commands