Skip to content

Instantly share code, notes, and snippets.

@malclocke
Created Nov 7, 2016
Embed
What would you like to do?
echo -n "3pm Christmas Day in LA in local timezone: "
date --date 'TZ="America/Los_Angeles" 2016-12-25T15:00'
echo -n "3pm Christmas Day in LA in London: "
TZ="Europe/London" date --date 'TZ="America/Los_Angeles" 2016-12-25T15:00'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment