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

std/datetime/mod.ts>SECOND

The 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.222.1/datetime/mod.ts";

The number of milliseconds in a second.

Examples

Example 1

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

SECOND; // 1_000

type

1000