#!/bin/sh timezones=" US/Pacific Europe/London UTC Europe/Helsinki Asia/Tokyo Australia/Brisbane Pacific/Auckland " w=0 for tz in $timezones do len=$(echo -n $tz | wc -c) if [ $len -gt $w ] then w=$len fi done for tz in $timezones do printf "%${w}s -- %s\n" $tz \ "$(LC_ALL=C TZ=$tz date +'%a %Y-%m-%d %H:%M')" done