Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

startOfToday

import { startOfToday } from "https://esm.sh/v135/date-fns@3.6.0/index.d.mts";
@example
// If today is 6 October 2014:
const result = startOfToday()
//=> Mon Oct 6 2014 00:00:00
function startOfToday(): Date;
§
startOfToday(): Date
[src]

§Return Type

§
Date
[src]

The start of today