→Example
({{wowapi}}, format) |
|||
| Line 12: | Line 12: | ||
===Result=== | ===Result=== | ||
A message with the current server time appears. | A message with the current server time appears. | ||
To use this in a macro: | |||
/script local hour,minute = GetGameTime();DEFAULT_CHAT_FRAME:AddMessage (hour .. ":" .. minute); | |||