struct tm *tp; static char tbuf[50];
if (tval) { struct tm *tp = localtime(&tval);
ttoa(tval)	time_t tval;{	struct tm *tp;	static char tbuf[50];	if (tval) {		tp = localtime(&tval);		(void)sprintf(tbuf, "%s %d, %d", months[tp->tm_mon],		    tp->tm_mday, tp->tm_year + TM_YEAR_BASE);	}	else		*tbuf = '\0';	return (tbuf);} 