Difference between revisions of "Bz getCurrentTime"

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

Latest revision as of 06:53, 3 December 2013

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 seconds.