I cant figure out why this command wont work. I keep getting invalid variable as the result.
It’s now $(time.Brazil/Sao Paulo) in Campina, Brasil ; $(time.America/New_York) in New York, US ; $(time.Canada/Mountain) in Kimberley, CA ; $(time.Europe/London) in London, UK ; $(time.America/Matamoros) in Jalisco, MX ; $(time.Europe/Berlin) in Berlin, DE ; $(time.America/Santiago) in Santiago, CL ; $(time.Australia/Melbourne) in Melbourne, AU
That’s because you use $(time) wrong, read the documentation, or rather read it over again (since you got the timezones right I assume you did).
I don’t know where you saw that dots . were used, $(time) doesn’t give you an object, but a string.