Skip to content
Date & Time second

$second[]

The function $second[] returns the current second (from 0 to 59).

Syntax

bdfd
$second

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 time HH:MM:SS directly.