Home > @infiniteobjects/core-library-web > Dates > startOfDay
Gets the first second of the day for given date.
Signature:
static startOfDay(date?: Date): Date;
Parameter | Type | Description |
---|---|---|
date | Date | (Optional) Date to get day from |
Returns:
Date