Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Very Popular
Go to Latest
function isFirstDayOfMonth
import { isFirstDayOfMonth } from "https://deno.land/x/date_fns@v2.11.1/index.js";

Examples

// Is 1 September 2014 the first day of a month? var result = isFirstDayOfMonth(new Date(2014, 8, 1)) //=> true

Parameters

dirtyDate
  • the date to check