Const
ISO 8601 or a number ↔ a frozen date-fns Duration object. The unit option is 'iso' (default), 's' or 'ms'. Parts of a second go in seconds. equals compares years, months, weeks and days per unit and the rest by length.
Duration
unit
'iso'
's'
'ms'
seconds
equals
ISO 8601 or a number ↔ a frozen date-fns
Durationobject. Theunitoption is'iso'(default),'s'or'ms'. Parts of a second go inseconds.equalscompares years, months, weeks and days per unit and the rest by length.