I'm sitting in the America/Sao_Paulo (or some other random timezone) and now I want to get a LocalDate for the current date in Europe/London.
How can I achieve this?
(I've got a localDate that I know is in london, and I want to check if it's before the current date using clj-time.core/after?)
I do not know Clojure. So I'll use Java syntax which you can translate.
Irrelevant. Whether your tushy is in Tokyo, Reykjavík, or São Paulo, that has nothing to do with asking for the current date in
Europe/Londontime zone.Call
LocalDate.nowwhile passing the time zone of interest.You can compare
LocalDateobjects by callingisEqual,isBefore, andisAfter.