Converts the given day count to milliseconds.

Type signature

(days: number) => number

Examples

fromDays(1);
// ⇒ 86400000
Try in REPL

Questions

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

TypeScript sourceJavaScript source