lib/scripts/showtime
author wenzelm
Thu, 18 Dec 1997 19:12:22 +0100
changeset 4436 a3a683a8bcc6
child 4450 2c64ce912684
permissions -rwxr-xr-x
showtime - print time.

#!/bin/bash
#
# $Id$
#
# showtime - print time.

TIME=$1

SECS=$[ $TIME % 60 ]
MINUTES=$[ ($TIME / 60) % 60 ]
HOURS=$[ $TIME / 3600 ]

echo "${HOURS}:${MINUTES}:${SECS}"