11 lines
252 B
Bash
Executable File
11 lines
252 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
MYDATE=$1
|
|
MYTIEM=$2
|
|
EPOCH=$(date -d "$1 $2" +%s)
|
|
|
|
for z in Asia/Hong_Kong Asia/Tokyo US/Eastern US/Pacific US/Central UTC Europe/London Europe/Berlin Asia/Kolkata Australia/Sydney; do
|
|
echo -n "$z | "
|
|
TZ=$z date -d "@$EPOCH"
|
|
done
|