Skip to main content

seconds

Return the seconds component of a time or duration.


Examples

Get the seconds value of the current time:

now.seconds