A little while back date handling started to become a nightmare in my current project. We have a stack with
a ClojureScript frontend, a clojure WebApp and a couple of clojure microservices apps using Oracle as a data store.
We decided pretty early on to use clj-time. It’s a really quite nice wrapper on top of joda-time.
But we didn’t pay much attention to how dates should be read/written to Oracle or how we should transmit dates across process boundaries.
Timezones is another issue we didn’t worry to much about either.
|
You will probably not regret using an UTC timezone for your Servers and Database. This post puts it succinctly.
Your webclient(s) though is out of your control !
|
I’m sure some of the measures we have taken can be solved more elegantly, but hopefully you might find some of them useful.