Tugger the SLUGger!SLUG Mailing List Archives

[SLUG] Change seconds to H:M:S


Hi all,

I have PPPD running and sending out via $CONNECT_TIME variable the time the
link was up for. The problem is that it's in seconds only and I get rsults
like "37646752 seconds". Is there a way to convert this into H:M:S?

I am doing this in a bash script..


thanks,
George Vieira
Network Administrator
http://www.citadelcomputer.com.au
PGP Fingerprint :	43DC 92AC 1A82 27B2 E97B  52F1 B60F 301A 38A9 A10C
PGP KeyID:		0x38A9A10C