Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

std/datetime/mod.ts>DAY

Deno standard library
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
variable DAY
Re-export
import { DAY } from "https://deno.land/std@0.211.0/datetime/mod.ts";

The number of milliseconds in a day.

Examples

Example 1

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

console.log(DAY); // => 86400000 (24 * 60 * 60 * 1000)

type

number