DateUtil
DateUtil~getLifetimeFromExpiresAt(expiresAt) ⇒ number
Returns the remaining seconds of expiration from now. If the value is less than or equal zero, then it is considered expired.
Kind: inner method of DateUtil
Returns: number - The number of seconds until the expiration date.
| Param | Type | Description |
|---|---|---|
| expiresAt | Date | The date at which something (e.g. a token) expires. |