Skip to main content
Deno 2 is finally here 🎉️
Learn more
Very Popular
Go to Latest
function startOfYesterday
import { startOfYesterday } from "https://deno.land/x/date_fns@v2.12.0/index.js";

Examples

// If today is 6 October 2014: var result = startOfYesterday() //=> Sun Oct 5 2014 00:00:00