stack

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

Dates.endOfDay() method

Gets the last second of the day for given date.

Signature:

static endOfDay(date?: Date): Date;

Parameters

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

Returns:

Date