API:GetTime

__NOTOC__
Returns the number of seconds elapsed since the last system boot.
seconds = GetTime()
== Parameters ==
=== Arguments ===
:None
=== Returns ===
:;seconds
::Floating point number representing elapsed seconds
== Example ==
local uptime = SecondsToTimeAbbrev(GetTime())
DEFAULT_CHAT_FRAME:AddMessage("My computer has been on for " .. uptime)
Category:Functions