Clock
Display a clock adjusted to your preferred timezone.
Shows the current time of the timezone you pick. Write the format yourself, for example %H:%M for 19:35.
Availability: every bot, no API key. Only the update cadence differs: every 10 minutes on the public bot, every 5 minutes on a legacy premium, custom or self-hosted bot. See Configuration.

Options
Timezone
The timezone the time is read in.
Pick one of the presets, which you can search. They carry friendly labels, such as Madrid for Europe/Madrid. You cannot type one that is missing: use a nested counter that returns an identifier such as Asia/Tokyo instead.
Format
The text the counter prints, with the placeholders below substituted.
Free text. The default is %f. Also takes a nested counter that returns a formatting string.
Placeholders
%H
Hour with leading zero, 24-hour (00-23)
19
%h
Hour without leading zero, 24-hour (0-23)
19
%I
Hour with leading zero, 12-hour (01-12)
07
%i
Hour without leading zero, 12-hour (1-12)
7
%M
Minute with leading zero (00-59)
35
%m
Minute without leading zero (0-59)
35
%S
Second with leading zero (00-59)
00
%s
Second without leading zero (0-59)
0
%p
am/pm (lowercase)
pm
%P
AM/PM (uppercase)
PM
%f
Default locale-based formatting
7:35 PM
The table shows 19:35 with the en-US locale. %f prints the hour and the minute, nothing else. Format prints the rest as you type it, and an empty one falls back to %f. The placeholders are case-sensitive, and Date and Countdown have their own sets.
What it returns
Text, never a number, even when the format is only digits. A voice or category channel name still has to end up at least 2 characters long; see Channel settings.
Formatting
Only Override default locale matters here: it decides what %f looks like, how %p and %P are worded, and which digits the time is written in. Without an override the counter follows Server settings. A locale with non-Latin digits breaks the four placeholders without a leading zero: ar-EG writes %H as ١٩, and %h, %i, %m and %s print NaN, so use %H, %I, %M and %S with such a locale. See Formatting counters.
Refresh and caching
The time is rounded to the nearest 5 minutes, so %S always prints 00 and at 19:33 the clock already reads 19:35. The channel changes only on the update cycle, so on the public bot 19:30 can sit there until 19:40. See How counters update.
Examples
Timezone Europe/Madrid, Format 🕒 %H:%M gives 🕒 19:35. For a 12-hour clock, %i:%M %P gives 7:35 PM.

A counter has one Timezone, so put two Clock counters in one template: Madrid {counter} | NY {counter}, set to Europe/Madrid and America/New_York, both with Format %H:%M. Output: Madrid 19:35 | NY 13:35.

A Date counter can sit in the same template, with its own Timezone.

Errors
Clock has no fallback. When it fails the bot renames the channel to ERROR!, translated into the server's language, and it does not put the old name back. More in Troubleshooting.
ERROR! in the channel name
Check the Timezone value and the Override default locale tag. The dashboard only reports An unknown error occurred. for these two.
The result for the channel name is less than 2 characters long.
Put some text around the counter.
Last updated