#!/usr/bin/env bash # Some countries below have more than one time zone, # and it makes sense to use cities instead of countries. # Use tzselect to find their time zones. time=$(TZ='America/Fortaleza' date +'%H:%M:%S') echo 'Brazil '$time'' echo '' time=$(TZ='America/Atikokan' date +"%H:%M") echo 'Canada '$time'' time=$(TZ='Europe/Dublin' date +"%H:%M") echo 'Ireland '$time'' time=$(TZ='Asia/Kolkata' date +"%H:%M") echo 'India '$time'' time=$(TZ='Asia/Shanghai' date +"%H:%M") echo 'China '$time'' echo ''