$getTimestamp[]
Returns the current unix timestamp in the selected time unit.
Syntax
$getTimestamp[Time unit]
Parameters
Time unit
(Type: Enum || Flag: Required)
: Sets timestamp time unit.
📝 Time unit value can either be :
s
(seconds)ms
(milliseconds)ns
(nanoseconds)
Example
$nomention
Unix Timestamp
In Seconds - $getTimestamp[s]
In Milliseconds - $getTimestamp[ms]
In Nanoseconds - $getTimestamp[ns]
📄 For more info about UNIX timestamps on Discord click here.