MudOS Release 0.9 1 FORMAT_TIME(2) SYSTEM CALLS FORMAT_TIME(2) NAME format_time - "Converts an int to a string representation of the time. SYNOPSIS string format_time(int tm, int verbose); DESCRIPTION Given a number of seconds in tm, format_time returns one of the following strings: if verbose is TRUE (non-zero), returns a string such as "1 day 3 hours 7 minutes 18 seconds" if verbose is FALSE (zero), returns an abbreviated string, such as "1d 3h 7m 18s" Counts years, weeks, days, hours, minutes, and seconds. Zero values are omitted; e.g. "3 hours 44 seconds", not "0 years 0 weeks 0 days 3 hours 0 minutes 44 seconds". AUTHOR Ichabod@TMI, 2/15/93 MudOS Release 0.9 Last change: 3-19-93