Actions67
- Interface Actions
- Firewall Address List Actions
- IP Pool Actions
- ARP Actions
- DHCP Server Actions
- IP Address Actions
- Hotspot Actions
- Queue Simple Actions
- Wireless Actions
- System Actions
- System Clock Actions
- System Identity Actions
- System Script Actions
- System Scheduler Actions
- IP Service Actions
- Netwatch Actions
- Log Actions
- Custom Command Actions
System Clock → Set
AI-generatedSummary
Sets the system clock on a MikroTik device.
Inputs
- clockDate — Date in format jan/01/2020
- clockTime — Time in format 12:00:00
- clockZone — Time zone name, e.g. Europe/London or manual
- connectionAttempts — Number of times to try connecting
- connectionDelay — Delay between attempts in seconds
- cleanKeys — Replace - and / with _ in response keys
- tag — Custom tag for the command
Output shape
Each returned item contains { resource, operation, count, data } as produced by the node's execute method.
The MikroTik API command
/system/clock/setis invoked with params{date, time, time-zone-name}mapped from the provided fields. Iftag> 0, it is appended as.tag=<value>. Connection retries useconnectionAttemptsandconnectionDelayfrom the options collection. IfcleanKeysis true, response keys have-and/replaced with_.