Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
function endOfYesterday
import { endOfYesterday } from "https://deno.land/x/date_fns@v2.0.0-alpha.34/index.js";

Examples

// If today is 6 October 2014: var result = endOfYesterday() //=> Sun Oct 5 2014 23:59:59.999