Converts the given second count to milliseconds.

Type signature

(seconds: number) => number

Examples

fromSeconds(1);
// ⇒ 1000
Try in REPL

Questions

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

TypeScript sourceJavaScript source