Skip to main content
Module

x/lodash_es/mod.ts>now

lodash for deno use
Latest
variable now
import { now } from "https://deno.land/x/lodash_es@v0.0.2/mod.ts";

Gets the timestamp of the number of milliseconds that have elapsed since the Unix epoch (1 January 1970 00:00:00 UTC).

Examples

.defer(function(stamp) { console.log(.now() - stamp); }, _.now()); // => Logs the number of milliseconds it took for the deferred invocation.

type

() => unknown