Converts milliseconds into hours.

Type signature

(milliseconds: number) => number

Examples

toHours(3600000);
// ⇒ 1
Try in REPL

Questions

  • How to convert milliseconds into hours?

TypeScript sourceJavaScript source