LogoRobo.js
Framework

extractTimestamp()

Function: extractTimestamp()

function extractTimestamp(id): number | null

Extract timestamp from a generated ID (if possible).

Only works with IDs generated by generateId().

Parameters

ParameterTypeDescription
idstringID to parse

Returns

number | null

Timestamp or null if not parseable

On this page