Red Hat Training
A Red Hat training course is available for Red Hat Enterprise Linux
Chapter 5. Time string utility function
Utility function to turn seconds since the epoch (as returned by the timestamp function gettimeofday_s()) into a human readable date/time string.