GetCurrentTimeStr

From UODemo Wiki
Revision as of 20:33, 13 March 2010 by Batlin (talk | contribs) (Created page with 'void '''getCurrentTimeStr'''(string &''ResultString''); This function returns the system time as a string in the format ''"%Y-%m-%d %H:%M"'' using the ''strftime'' C function. …')

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

void getCurrentTimeStr(string &ResultString);

This function returns the system time as a string in the format "%Y-%m-%d %H:%M" using the strftime C function.

However! The demo server code is bugged here, and will return a randomized time due to a missing call to the required time C function! This is fixed in UoDemo+ Publish 16 and later.


Return to the Command List.