How I can get the system uptime in milliseconds from the Windows command line? I want something like the result of this function:
Is there a command, utility or trick for this?
You`re sure that you want the milliseconds via command line utility. IMHO the overhead starting a new process to fetch this will take a little bit to long.
If seconds also fits your requirements, here is a little outline to get with some bash code.
For windows, execute the following text in command line: