SLUG Mailing List Archives
[SLUG] Change seconds to H:M:S
- To: "'slug@xxxxxxxxxxx'" <slug@xxxxxxxxxxx>
- Subject: [SLUG] Change seconds to H:M:S
- From: George Vieira <georgev@xxxxxxxxxxxxxxxxxxxxxx>
- Date: Wed Sep 6 11:15:11 2000
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..
PGP Fingerprint : 43DC 92AC 1A82 27B2 E97B 52F1 B60F 301A 38A9 A10C
PGP KeyID: 0x38A9A10C