zkGettimeofday - get the date and time
#include "zkSysTime.h"
int zkGettimeofday(struct timeval* tp, void* tzp);
The zkGettimeofday() function obtains the current time, expressed as seconds and microseconds since 00:00 Coordinated Universal Time (UTC), January 1, 1970, and stores it in the timeval structure pointed to by tp. The resolution of the system clock is unspecified.
If tzp is not NULL, the behaviour is unspecified.
The zkGettimeofday() function returns 0 and no value is reserved to indicate an error.
No errors are defined.