export TZ="Europe/London" date "+%H:%M"
#!/bin/sh if [ $# -gt 1 ] then DATEFORMAT="$2" else DATEFORMAT="%H:%M" fi if [ $# -gt 2 ] then TIMETOSHOW="-d \"$3\"" else TIMETOSHOW="" fi export TZ=$1 date "+$DATEFORMAT" $TIMETOSHOW
echo "London: " `/usr/bin/worldtime Europe/London` " | Denver: " `/usr/bin/worldtime America/Denver`
date +<formatcode>