// "Pretty print" an amount of time given in seconds
const dayInSeconds = 60 * 60 * 24;
const hourInSeconds = 60 * 60;
// "Pretty print" an amount of time given in seconds
const dayInSeconds = 60 * 60 * 24;
const hourInSeconds = 60 * 60;
const hours = Math.floor((t % dayInSeconds) / hourInSeconds);
const minutes = Math.floor((t % hourInSeconds) / 60);
const seconds = Math.floor(t % 60);
const hours = Math.floor((t % dayInSeconds) / hourInSeconds);
const minutes = Math.floor((t % hourInSeconds) / 60);
const seconds = Math.floor(t % 60);