GetCurrentTimeStr

From UODemo Wiki
Revision as of 11:46, 12 August 2011 by Batlin (talk | contribs)

(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 (forum topic), 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.