Fields & Data

^STSet Date and Time

Sets the printer's Real-Time Clock date and time.

Category
Fields & Data
Syntax
^STmonth,day,year,hour,minute,second,f

What ^ST does

^ST programs the printer's Real-Time Clock so that ^FC clock fields print the correct date and time. It requires an RTC-equipped printer and is usually sent once at setup.

Syntax

^STmonth,day,year,hour,minute,second,f

Parameters

ParameterDescriptionValuesDefault
month,day,yearDate to set
hour,minute,secondTime to set (24-hour)
fTime format flag

Example

^XA
^ST08,13,2026,14,30,00,1
^XZ

Paste this into the free ZPL viewer to see it render, or convert it to PDF.

Notes & tips

  • Needs a Real-Time Clock module.
  • Print the clock value with ^FC fields.

See the full ZPL command reference for all 92 documented commands.

Work with your labels, not just read about them

Zentralabel converts, previews, validates, and enriches ZPL labels right in your browser — free tools for one-offs, batch processing for scale.