Skip to Content

formatExpiryDate()

function formatExpiryDate(expiresAt): string;

A key’s expiry as the API’s messages write it, such as “Oct 4, 2026” (UTC).

Parameters

expiresAt

string | Date

Last updated on