Function: getCookieExpireTime
▸ Const
getCookieExpireTime(ttl
): string
convert a TTL (time to live) to an expire date
Parameters
Name | Type | Description |
---|
ttl | number | : time to live in seconds |
Returns
string
Defined in
onekijs/packages/onekijs-framework/src/utils/storage.ts:46