Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

std/datetime/constants.ts>WEEK

The Deno Standard Library
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
variable WEEK
import { WEEK } from "https://deno.land/std@0.222.1/datetime/constants.ts";

The number of milliseconds in a week.

Examples

Example 1

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

WEEK; // 604_800_000

type

number