tm.s.r = clib_localtime(pTime.u4.r, [uresult.s.r])
This function assumes the time parameter is local time in seconds
since 00:00:00 Jan 1, 1970. An optional result buffer can be supplied
for thread safety.
This function was introduced during the VAX/VMS to PC/Linux migration.
It is/was intended to reproduce the semantics of just plain localtime() on
VAX/VMS. VAX/VMS as it was configured unfortunately used local time.
The use of local time created discontinuities in the values returned
from time(). on VAX/VMS. See the explanation of clib_ctime for
details. New uses of this function are discouraged.
This function requires the following include files:
unsigned int seconds;
struct tm *tm;
seconds = clib_time();
tm = clib_localtime(&seconds);