stack

Home > @infiniteobjects/core-library-web > Dates > endOfMonth

Dates.endOfMonth() method

Gets the last day of the month for the given date.

Signature:

static endOfMonth(date?: Date): Date;

Parameters

Parameter Type Description
date Date (Optional) Date to get month from

Returns:

Date