Can anyone suggest a way to convert the result from gettimeofday() which is number of seconds to a UNIX integer timestamp that looks like for example, 20030411021539, on April 11, 2003 at 2:15:39am?

Thanks!