One script I use quite often:
function unix() {
if [ $# -gt 0 ]; then
echo "Arg: $(date -r "$1")"
fi
echo "Now: $(date) - $(date +%s)"
}
Prints the current date as UNIX timestamp. If you provide a UNIX timestamp as arg, it prints the arg as human readable date.