summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xdate.bash9
1 files changed, 9 insertions, 0 deletions
diff --git a/date.bash b/date.bash
new file mode 100755
index 0000000..21a0e64
--- /dev/null
+++ b/date.bash
@@ -0,0 +1,9 @@
+#!/bin/bash
+
+read strTZ
+
+if [ -n "$strTZ" ]; then
+ TZ="$strTZ" date
+else
+ date
+fi