Difference between revisions of "Bz getCurrentTime"

From BZFlagWiki
Jump to: navigation, search
(Added bz_getCurrentTime)
 
(Clarify that the time returned has an accuracy in milliseconds, not just seconds.)
Line 4: Line 4:
 
| param1type  = void
 
| param1type  = void
 
| returntype  = double
 
| returntype  = double
| returns    = The server time (in seconds)
+
| returns    = The amount of time the server has been running. This is shown in milliseconds.
 
| version    = 2.0.x or later
 
| version    = 2.0.x or later
 
}}
 
}}

Revision as of 09:08, 4 June 2012

double bz_getCurrentTime (void)


Minimum API Version: 2.0.x or later
Gets the current server time.

Returns:
The amount of time the server has been running. This is shown in milliseconds.