Options
All
  • Public
  • Public/Protected
  • All
Menu

Index

Functions Plugins.

Plugins. Functions

  • name

    startOfMonth

    summary

    Return the start of a month for the given date.

    description

    Return the start of a month for the given date.

    example

    // The start of a month for 2 October 2020 09:50:01: const result = startOfMonth(new Date(2020, 10, 2, 09, 50, 1)) //=> Oct 01 2020 00:00:00

    Parameters

    Returns DateTime

    the start of a month

Generated using TypeDoc