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

endOfYesterday

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

§Return Type

§
Date
[src]

The end of yesterday