I'm aware of various Windows command line functions, such as:
TIME
- allows you to get and set the clock time
wmic os get localdatetime
- returns local datetime
wmic os get lastbootuptime
- gets the last boot up time in ticks (I haven't found the command line for getting the number of ticks)
What does JavaScript use to get the time when you do the following?
var d = new Date();
var time = d.getTime();
Is it a system call, and if so which one? And how accurate is it?