]> code.delx.au - monosys/blobdiff - bin/dates
Multi-date script
[monosys] / bin / dates
diff --git a/bin/dates b/bin/dates
new file mode 100755 (executable)
index 0000000..dfc2601
--- /dev/null
+++ b/bin/dates
@@ -0,0 +1,17 @@
+#!/bin/bash
+
+list="
+UTC
+Australia/Sydney
+Australia/Perth
+Europe/London
+America/Chicago
+America/Los_Angeles
+"
+
+for tz in $list; do
+       printf "%-25s" "$tz"
+       TZ="$tz" date
+       echo
+done
+