Plain English

Sets the format for date and time fields when using the printer's real-time clock (RTC). Controls how dates appear on labels.

When to use

When your labels include date/time stamps and you need a specific format (e.g., DD/MM/YYYY vs MM-DD-YY).

Syntax

^KDformat

Parameters

ParameterDescription
formatDate format: see Zebra RTC documentation for format codes

Example

^XA
^KD0
^XZ

Select date format 0 (default)

Try it in the playground View all ZPL commands