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

Gets the current date as a formatted UTC string.

Returns

string

The current date as 'YYYY-MM-DD'.