getCookieExpireTime
getCookieExpireTime(ttl: number): string
convert a TTL (time to live) to an expire date
Properties
(Mandatory properties are in bold)Properties | Type | Description |
---|---|---|
ttl | number | : time to live in seconds |
getCookieExpireTime(ttl: number): string
convert a TTL (time to live) to an expire date
Properties | Type | Description |
---|---|---|
ttl | number | : time to live in seconds |