GetCurrentTimeStr

From UODemo Wiki
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.