When dealing with any date-time library in any platform I find it best to reread the documentation almost every time I use it.
It's surprising how poorly the situation with timezones is understood in the industry.
We have courses about compilers, databases, data structures, algorithms, cryptography. It's surprising we don't have courses about dates and time.