Skip to main content

Function: getCookieExpireTime

Const getCookieExpireTime(ttl): string

convert a TTL (time to live) to an expire date

Parameters

NameTypeDescription
ttlnumber: time to live in seconds

Returns

string

Defined in

onekijs/packages/onekijs-framework/src/utils/storage.ts:46