Skip to main content

timestamp

Function timestamp 

Source
pub fn timestamp(id: &str) -> Option<u64>
Expand description

The creation time encoded in an ID’s prefix, in milliseconds.

Returns None for legacy 36-character UUIDs and malformed IDs.