Returns the amount of time since the current battleground instance opened


See also Battlefield functions.

Signature:

time = GetBattlefieldInstanceRunTime()

Returns:

  • time - Amount of time since the current battleground instance opened (in milliseconds) (number)

Examples:

-- Print the current battleground time as a string
print(SecondsToTime(GetBattlefieldInstanceRunTime()/1000))