How to get current time in MikroTik RouterOS script
In order to get the current time in RouterOS, use
/system clock get time
The time returned will be in hh:mm:dd
format and local time
For example, the following command will print the current time:
:put [/system clock get time]
If this post helped you, please consider buying me a coffee or donating via PayPal to support research & publishing of new posts on TechOverflow