^ST — Set Date and Time
Plain English
Sets the printer's real-time clock (RTC). Required for date/time stamping on labels. Only works on printers with an RTC module installed.
When to use
During initial printer setup or after a battery replacement that reset the clock.
Syntax
^STyear,month,day,hour,minute,second
Parameters
| Parameter | Description |
|---|---|
year | Year (2-digit or 4-digit) |
month | Month (01-12) |
day | Day (01-31) |
hour | Hour (00-23) |
minute | Minute (00-59) |
second | Second (00-59) |
Example
^XA ^ST2026,04,01,14,30,00 ^XZ
Set clock to April 1, 2026 at 2:30 PM