Sets the time
(IN) Points to the time. If tpz is zero or the tz_secondswest and tz_minuteswest are zero, the incoming time must be UTC.
(IN) Points to a structure containing timezone information if the time in the tp parameter is not specified as UTC time. The information in the tpz parameter is not used to set the timezone.
If successful, returns 0. Otherwise, returns -1 and sets errno.
The settimeofday function sets the current date and time for the system, but it cannot be use to set the time zone.