The getSeconds() method returns the second component of the current value as an integer.
Declaration
DayPilot.Date.getSeconds()Parameters
This method has no parameters.
Notes
Use this method to read the second component of the current DayPilot.Date value.
Example
const date = new DayPilot.Date("2025-03-15T08:30:45");
const seconds = date.getSeconds();See Also
Availability
Availability of this API item in DayPilot editions:
| Product | Lite | Pro |
|---|---|---|
| DayPilot for JavaScript |
DayPilot