Skip to main content
Latest
function timeFormatSerialize
Re-export
import { timeFormatSerialize } from "https://deno.land/x/simple_utility@v2.1.0/mod.full.ts";

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

Examples

Example 1

const format = timeFormatSerialize();

Parameters

optional
dt: Date | number | string
optional
split: boolean

Returns

string