Module

std/datetime/mod.ts>WEEK

The Deno Standard Library
Go to Latest
variable WEEK
import { WEEK } from "https://dotland.deno.dev/std@0.223.0/datetime/mod.ts";

The number of milliseconds in a week.

Examples

Example 1

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

WEEK; // 604_800_000

type

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