Functions
unixTimestamp
unixTimestamp(
putativeTimestamp
):UnixTimestamp
This helper combines asserting that a bigint
represents a Unix timestamp with coercing it
to the UnixTimestamp type. It's best used with untrusted input.
Parameters
Parameter | Type |
---|---|
putativeTimestamp | bigint |