I am currently using the following command to get system time with minutes and seconds from a script:
:local lTime [/system clock get time];
However, I would like to also access milliseconds information about the current time. For example, when I ping a host, I get the time in 49ms859us. This shows me that the OS is capable of displaying time information in ‘ms’ and even ‘us’ increments. How can I access time with milliseconds in a script?
Thank you for your replies. I used a small script to test various metrics. I found setting the delay as 0.x seconds to be better than x00ms. I would like to use this to benchmark various system calls and if necessarily add delays.