The time integer to convert, represented in milliseconds.
An array of three numbers representing hours, minutes, and seconds respectively.
This function will throw an error if the provided time integer is not valid.
Will throw an error if the provided time integer is not valid.
const timeArray = timeIntToArray(3600000); // returns [1, 0, 0]
Generated using TypeDoc
Converts a time integer into an array of hours, minutes, and seconds.