Skip to main content
Module

x/simple_utility/src/pure/time.ts

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

Functions

Wait for specified time. Return actual elapsed wait time.

Generate serialized string from current or any Date to "yyyyMMddhhmmss".

Date from UNIX time. Note that in seconds not milliseconds.

UNIX time in seconds. If no args will be current time. Note that in seconds not milliseconds.

Convert from formatted datetime string such as ISO8601 to UNIX time in seconds.