Util.cpp
/*--- function ShortTime ------------------------------------------
 *
 *  Return a textual representation of the time.
 *
 *  Entry:  mytime   is the time
 *          
 *  Exit:   time_str points to a 14-byte (plus zero byte) ASCII time.
 */
function ShortTime
Return a textual representation of the time.

mytime   is the time

time_str points to a 14-byte (plus zero byte) ASCII time.
function ShortTime Return a textual representation of the time . mytime is the time time_str points to a 14 - byte ( plus zero byte ) ASCII time .
void
ShortTime(time_t mytime, char *timestr) {
	strncpy(timestr,ctime(&mytime)+4,15);
	timestr[15] = '\0';
}
void ShortTime ( time_t mytime , char * timestr ) { strncpy ( timestr , ctime ( & mytime ) + 4 , 15 ) ; timestr [ 15 ] = ' \0 ' ; }
function ShortTime
  Return a textual representation of the time.
function ShortTime Return a textual representation of the time .