API:GetCurrentGameTime

__NOTOC__
Returns a number representing the current ingame time.
=== Usage ===
gametime = GetCurrentGameTime();
=== Time Equivalents ===
:;0-29 = Morning
:;30-119 = Daytime
:;120-149 = Dusk
:;150+ = Night
=== Example ===
local timestr;
local gametime = GetCurrentGameTime();
if (gametime < 30) then
	timestr = "Morning";
elseif (gametime < 120) then
	timestr = "Daytime";
elseif (gametime < 150) then
	timestr = "Dusk";
else
	timestr = "Night";
end
DEFAULT_CHAT_FRAME:AddMessage("It is currently: "..timestr);
Category:Functions