format_time

MudOSa4DGD/doc/efun/format_time · 429 B

From the archive MudOSa4DGD-30.06.98.tar.gz

Download the archive   « Back to the archive contents

NAME
	format_time - return a string based on number of seconds

SYNOPSIS
	varargs string format_time(int time, int long)


DESCRIPTION
	The returned string will be of the format:
	"7 days, 3 hours, 1 minute and 2 seconds". If the optional
	second argument is zero (default), the returned string will
	be as short as possible. Or else it will contain all the elements
	even if they are of 0 size.

SEE ALSO
	kfun/time, kfun/ctime

Site Stats

Snippets: 1791
Codebases: 571