milliseconds


MilliSeconds per day

To compute the number of milliseconds per day, you can use the following snippets:

Java

final long millisecondsPerDay = 24 /*hours*/ * 60 /*minutes*/ * 60 /*seconds*/ * 1000 /*milliseconds*/;

C/C++

const unsigned long millisecondsPerDay = 24 /*hours*/ * 60 /*minutes*/ * 60 /*seconds*/ * 1000 /*milliseconds*/;

Advertisements