WoW:API GetGameTime

From AddOn Studio
Revision as of 22:42, 18 January 2005 by WoWWiki>Zlixar
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
GetGameTime -Documentation by Zlixar-

Returns the current server time in hours and minutes

hours,minutes = GetGameTime();

Arguments
none

Returns
hours
Number - The current hour.
minutes
Number - The minutes passed in the current hour.

Example
local hour,minute = GetDate();
Result
hour = 16
minute = 30

Details
This is the server's current time, NOT the current time of the user's system.

Template:WoW API