Quantcast
Channel: UNIX and Linux Forums
Viewing all articles
Browse latest Browse all 16232

Date Time Zone Conversion (backwards of what I want)

$
0
0
I am trying to convert local time to time in Ireland. Instead it is going the opposite direction (taking the local time as it if were in Ireland and displaying that the time would be here).

Code:

$ echo "$TZ"; date; date --date='TZ="Europe/Dublin" '"$(date)"
America/Phoenix
Mon, Apr 13, 2015 15:20:05
Mon, Apr 13, 2015 07:20:05

It is actually 23:20 in Ireland.
Anyone have any ideas?

Mike

Viewing all articles
Browse latest Browse all 16232

Trending Articles