Difference between revisions of "GetCurrentTimeStr"

From UODemo Wiki
Jump to: navigation, search
(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. …')
(No difference)

Revision as of 20:33, 13 March 2010

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.