Returns the current realm (server) time. Warning! When player is on an instance server (Dungeon, Arena, Battleground) GetGameTime() might return different server time than on the player server. This is caused by fact that some instance servers run in different timezone that players servers.


See also Client control and information functions.

Signature:

hour, minute = GetGameTime()

Returns:

  • hour - Hour portion of the time (on a 24-hour clock) (number)
  • minute - Minute portion of the time (number)