Very Popular
Latest
function default
import { default } from "https://dotland.deno.dev/x/date_fns@v2.22.1/nextThursday/index.ts";

Examples

// When is the next Thursday after Mar, 22, 2020? const result = nextThursday(new Date(2020, 2, 22)) //=> Thur Mar 26 2020 00:00:00

Parameters

date: Date | number
  • the date to start counting from

Returns

the next Thursday