Jason makes a useful suggestion. I've been doing this forever on my
various machines. in fact I find this approach so useful that I've
defined a host of aliases to give me current time in key time zones
around the planet. These are automatically loaded when I open a terminal
session. Here are just a few examples:

alias pst="env TZ=US/Pacific date" #Pacific Time
alias hst="env TZ=HST date" #Hawaii
alias nzt="env TZ=Pacific/Auckland date" #New Zealand
alias act="env TZ=Australia/ACT date" #Sydney
alias wst="env TZ=Australia/Perth date" #Perth
alias jst="env TZ=Japan date" #Japan
alias prc="env TZ=PRC date" #China
alias ist="env TZ=Israel date" #Israel
alias msk="env TZ=Europe/Moscow date" #Moscow
alias cet="env TZ=CET date" #Central European
alias bst="env TZ=GB date" #Great Britain
alias utc=gmt

So, if I want to know the time in China, I simply type prc and press
return

Best,

Janina

'Jason White' via MacVisionaries writes:
> In the Mac OS terminal, set the TZ variable and then run the date command, 
> for example:
> TZ=US/Pacific date
> Which will show you the date and time in the specified time zone. The time 
> zones are in the /usr/share/zoneinfo directory.
> 
> This is a well known solution that has worked on UNIX systems for a long time.
> 
> On 4/21/20, 13:51, "Jürgen Fleger" <[email protected] on 
> behalf of [email protected]> wrote:
> 
>     Again: Thanks to you both. Great App and a great web side.
>     All the best
>     Jürgen
> 
> 
>     > Am 21.04.2020 um 18:46 schrieb 'Janina Sajka' via MacVisionaries 
> <[email protected]>:
>     > 
>     > I've not done time conversions on my Mac, but this kind of feature is a
>     > common need for anyone working with colleagues around the globe.
>     > 
>     > I'd be very surprised if this was difficult to accomplish this on Apple.
>     > I know my Android Clock app allows me to quickly see current time any of
>     > dozens of world cities. I get to choose the ones I want at the top of my
>     > list.
>     > 
>     > It's also an important feature when traveling internationally.
>     > 
>     > There's also this very useful web service:
>     > 
>     > https://TimeAndDate.com
>     > 
>     > PS: Germany is generally 9 hours ahead of U.S. pacific Time, so 9:00 AM
>     > in San Francisco will be 18:00 in Berlin.
>     > 
>     > Good luck!
>     > 
>     > Janina
>     > 
>     > 
>     > Jürgen Fleger writes:
>     >> Hi,
>     >> 
>     >> I’m looking for  an accessible Time converter for my iPhone or Mac. 
> All I know is I need to convert 9 am Pacific time to german time but I don’t 
> know a place or city in Pacific time area. 
>     >> 
>     >> Does anyone know such a time converter?
>     >> 
>     >> Thanks and all the best
>     >> Jürgen
>     >> 
>     >> -- 
>     >> The following information is important for all members of the Mac 
> Visionaries list.
>     >> 
>     >> If you have any questions or concerns about the running of this list, 
> or if you feel that a member's post is inappropriate, please contact the 
> owners or moderators directly rather than posting on the list itself.
>     >> 
>     >> Your Mac Visionaries list moderator is Mark Taylor.  You can reach 
> mark at:  [email protected] and your owner is Cara Quinn - you can reach Cara at 
> [email protected]
>     >> 
>     >> The archives for this list can be searched at:
>     >> http://www.mail-archive.com/[email protected]/
>     >> --- 
>     >> You received this message because you are subscribed to the Google 
> Groups "MacVisionaries" group.
>     >> To unsubscribe from this group and stop receiving emails from it, send 
> an email to [email protected].
>     >> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/macvisionaries/ADB06FE7-59DC-40DB-B55E-59C8F5A080BB%40fleger.net.
>     > 
>     > -- 
>     > 
>     > Janina Sajka
>     > 
>     > Linux Foundation Fellow
>     > Executive Chair, Accessibility Workgroup:       http://a11y.org
>     > 
>     > The World Wide Web Consortium (W3C), Web Accessibility Initiative (WAI)
>     > Chair, Accessible Platform Architectures        
> http://www.w3.org/wai/apa
>     > 
>     > -- 
>     > The following information is important for all members of the Mac 
> Visionaries list.
>     > 
>     > If you have any questions or concerns about the running of this list, 
> or if you feel that a member's post is inappropriate, please contact the 
> owners or moderators directly rather than posting on the list itself.
>     > 
>     > Your Mac Visionaries list moderator is Mark Taylor.  You can reach mark 
> at:  [email protected] and your owner is Cara Quinn - you can reach Cara at 
> [email protected]
>     > 
>     > The archives for this list can be searched at:
>     > http://www.mail-archive.com/[email protected]/
>     > --- 
>     > You received this message because you are subscribed to the Google 
> Groups "MacVisionaries" group.
>     > To unsubscribe from this group and stop receiving emails from it, send 
> an email to [email protected].
>     > To view this discussion on the web visit 
> https://groups.google.com/d/msgid/macvisionaries/20200421164613.GC2031%40rednote.net.
> 
>     -- 
>     The following information is important for all members of the Mac 
> Visionaries list.
> 
>     If you have any questions or concerns about the running of this list, or 
> if you feel that a member's post is inappropriate, please contact the owners 
> or moderators directly rather than posting on the list itself.
> 
>     Your Mac Visionaries list moderator is Mark Taylor.  You can reach mark 
> at:  [email protected] and your owner is Cara Quinn - you can reach Cara at 
> [email protected]
> 
>     The archives for this list can be searched at:
>     http://www.mail-archive.com/[email protected]/
>     --- 
>     You received this message because you are subscribed to the Google Groups 
> "MacVisionaries" group.
>     To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
>     To view this discussion on the web visit 
> https://groups.google.com/d/msgid/macvisionaries/32E68AC9-7A29-4BDF-BA1E-7B83EEC43322%40fleger.net.
> 
> 
> -- 
> The following information is important for all members of the Mac Visionaries 
> list.
> 
> If you have any questions or concerns about the running of this list, or if 
> you feel that a member's post is inappropriate, please contact the owners or 
> moderators directly rather than posting on the list itself.
> 
> Your Mac Visionaries list moderator is Mark Taylor.  You can reach mark at:  
> [email protected] and your owner is Cara Quinn - you can reach Cara at 
> [email protected]
> 
> The archives for this list can be searched at:
> http://www.mail-archive.com/[email protected]/
> --- 
> You received this message because you are subscribed to the Google Groups 
> "MacVisionaries" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/macvisionaries/BBE9A496-589A-4695-9233-8E7FF4F650EC%40jasonjgw.net.

-- 

Janina Sajka

Linux Foundation Fellow
Executive Chair, Accessibility Workgroup:       http://a11y.org

The World Wide Web Consortium (W3C), Web Accessibility Initiative (WAI)
Chair, Accessible Platform Architectures        http://www.w3.org/wai/apa

-- 
The following information is important for all members of the Mac Visionaries 
list.

If you have any questions or concerns about the running of this list, or if you 
feel that a member's post is inappropriate, please contact the owners or 
moderators directly rather than posting on the list itself.

Your Mac Visionaries list moderator is Mark Taylor.  You can reach mark at:  
[email protected] and your owner is Cara Quinn - you can reach Cara at 
[email protected]

The archives for this list can be searched at:
http://www.mail-archive.com/[email protected]/
--- 
You received this message because you are subscribed to the Google Groups 
"MacVisionaries" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/macvisionaries/20200424220541.GE2031%40rednote.net.

Reply via email to