I'm using countdown-inline JS and I've got the following code:
var diff = options.timestamp;
var df = new Date(diff);
var d = Math.floor(df / (60 * 60 * 1000 * 24) * 1),
h = Math.floor((df % (60 * 60 * 1000 * 24)) / (60 * 60 * 1000) * 1),
m = Math.floor(((df % (60 * 60 * 1000 * 24)) % (60 * 60 * 1000)) / (60 * 1000) * 1),
s = Math.floor((((df % (60 * 60 * 1000 * 24)) % (60 * 60 * 1000)) % (60 * 1000)) / 1000 * 1);
How ms (milliseconds) var should look like into above iteration?
What's the formula please?