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

std/datetime/mod.ts>SECOND

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

The number of milliseconds in a second.

Examples

Example 1

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

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

type

1000