Date & Time
second
$second[]
Returns the current second (0 to 59). Resolved at runtime.
Syntax
$second
$second[]
The function $second[] returns the current second (from 0 to 59).
Important: This function uses the special identifier
((second))which is resolved at runtime.
Syntax
$second
Note: This function does not take any parameters.
Return Value
A number between 0 and 59 representing the current second.
Examples
Simple second
Current second: $second
Custom full time
It is precisely $hour:$minute and $second seconds.
Clock in an embed
$title[🕐 Clock]
$description[$hour:$minute:$second]
$footer[Updated at each execution]
Notes
- Use
$time[]to get the formatted timeHH:MM:SSdirectly.