Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

std/datetime/constants.ts>DAY

Deno standard library
Go to Latest
variable DAY
import { DAY } from "https://deno.land/std@0.215.0/datetime/constants.ts";

The number of milliseconds in a day.

Examples

Example 1

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

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

type

number