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

std/datetime/constants.ts>SECOND

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

The number of milliseconds in a second.

Examples

Example 1

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

console.log(SECOND); // => 1000

type

1000