stack

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

Dates.startOfDay() method

Gets the first second of the day for given date.

Signature:

static startOfDay(date?: Date): Date;

Parameters

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

Returns:

Date