DayPilot.Date.today

The today() static method returns a DayPilot.Date object corresponding to the start of the current day.

Declaration

DayPilot.Date.today()

Return Value

Returns a DayPilot.Date object corresponding to the start of the current day.

Notes

This is a static method and needs to be invoked using the full DayPilot.Date.today() prefix.

Example

const today = DayPilot.Date.today();

See Also

DayPilot.Date Class

Availability

Availability of this API item in DayPilot editions:

LitePro
DayPilot for JavaScript