Difference between revisions of "Bz getLocaltime"

From BZFlagWiki
Jump to: navigation, search
(Trying to format bz_getLocaltime page right)
 
Line 1: Line 1:
{{BZFS_API_Doc}}
+
{{apicall
 
+
| name          = bz_getLocaltime
==Overview==
+
| description  = Fills a bz_localTime object with values for the current time on the server.
bz_getLocaltime is a function to fill a [[bz_localTime]] structure with values.<br>
+
| param1        = *ts
Go to [[bz_localTime]] for structure format.
+
| param1type    = bz_localTime
 
+
| param1desc    = bz_localTime object to fill.
==Example==
+
}}
bz_localTime st; // create a new [[bz_localTime]] structure st <br>
+
bz_getLocaltime(&st); // fill st will values
+

Latest revision as of 23:34, 30 December 2008

void bz_getLocaltime (bz_localTime *ts)


Fills a bz_localTime object with values for the current time on the server.

Parameters:
*ts  -  bz_localTime object to fill.