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

x/simple_utility/src/pure/time.ts

Simplify processing for Deno.
Latest
import * as simpleUtility from "https://deno.land/x/simple_utility@v2.2.1/src/pure/time.ts";

Functions

Wait for specified time. Return actual elapsed wait time.

Convert from UNIXTIME or formatted datetime string to Date. If no args will be current time. Note that in seconds not milliseconds.

Convert from Date or formatted datetime string to UNIXTIME. If no args will be current time. Note that in seconds not milliseconds.

Serialize from Date or UNIXTIME or formatted datetime string to "yyyyMMddhhmmss". If no args will be current time.