ElementsData & charts
AddClock
Adds a live clock whose display format can be configured.
AddClock
What it does
Adds a live clock whose display format can be configured.
When to use it
Use it for dashboards, session tools, or pages that need continuously updated local time.
ElementFunction:AddClock(ClockConfig)
RightGroup:AddClock({
Name = "Local Clock"
})Behavior and return value
Call this method on the compatible section, tab, panel, or element container shown by the signature. Store the returned value when you need to update, read, or destroy the element later.
Fields marked optional may be omitted. XLQP then uses the method’s built-in default or leaves that feature disabled.