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
Availability
Availability of this API item in DayPilot editions:
| Product | Lite | Pro |
|---|---|---|
| DayPilot for JavaScript |
DayPilot