OECurrentTime¶
std::string OECurrentTime()
bool OECurrentTime(struct tm *timeinfo)
The first overload of this function that takes no arguments returns the current local time in the following format:
Thu Nov 24 18:22:48 1986\n
An empty string will be returned if the function fails.
The second overload will place the current local time into the
timeinfo
struct. If that fails, false
will be returned.