Console
hyTags
Home
Home
Getting Started
Getting Started
Documentation
Documentation
date-time-difference
Calculates the difference between two date and time values in seconds.
Parameter
Type
Description
self
dateTime
The first date and time.
other
dateTime
The second date and time to subtract.
return
number
The difference in seconds between the two date and time values.