Module

std/datetime/mod.ts>WEEK

Deno standard library
Go to Latest
variable WEEK
import { WEEK } from "https://dotland.deno.dev/std@0.215.0/datetime/mod.ts";

The number of milliseconds in a week.

Examples

Example 1

import { WEEK } from "https://deno.land/std@0.215.0/datetime/constants.ts";

console.log(WEEK); // => 604800000 (7 * 24 * 60 * 60 * 1000)

type

number
import WEEK
import { WEEK } from "https://dotland.deno.dev/std@0.215.0/datetime/mod.ts";