Converts the given hour count to milliseconds.

Type signature

(hours: number) => number

Examples

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

Questions

  • How to find how many milliseconds are in a given number of hours?

TypeScript sourceJavaScript source