Site icon Bytefreaks.net

MilliSeconds per day

Advertisements

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*/;

This post is also available in: Greek

Exit mobile version