Skip to main content
The Deno 2 Release Candidate is here
Learn more
method TimeUtil.prototype.getTime
import { TimeUtil } from "https://deno.land/x/sptaki@1.2.0/utils/TimeUtil.d.ts";

Gets the current time as a formatted UTC string.

Returns

string

The current time as 'HH-MM-SS'.