Skip to main content
Deno 2 is finally 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.206.0/datetime/mod.ts";

The number of milliseconds in a second.

Examples

Example 1

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

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

type

1000