OEGetTimeOfDay

bool OEGetTimeOfDay(struct timeval *tp)

Fills the timeval struct tp with the current time of day for the local timezone. Equivalent to the gettimeofday system call on Linux. Returns true when successful, false otherwise.