Getting the timestamp in the robot program?

My written thing is realized by standalone.
Because XMLRPC server is internal server within robot(127.0.0.1).

You may refer the following.

Regards.

https://forum.universal-robots.com/t/sample-getrobotdata-real-time-client-reader-urcap/1195

https://forum.universal-robots.com/t/sample-get-controller-time-in-urscript/1256