Shawn clock milliseconds

The milliseconds( time_t time) function now returns the milliseconds. Before the update it returned the value 0 because the multiplication *1000 was done after the integer cast, causing the loss of the fractional part of the time (time_t is a double)