Uptime of operating system on a Mac

(imported topic written by SystemAdmin)

Good day,

“uptime of operating system” on the Mac OS returns 2 days, 00:57:53.071040

Is there a way to get rid of the “.071040” but this have the same property work on a Windows machine?

(imported comment written by BenKus)

You don’t want micro-second resolution on your uptime?!? :slight_smile:

This is a simple trick that is easy:

uptime of operating system / second * second

Ben

(imported comment written by SystemAdmin)

Thank you so much Ben