TimeZone ID's in Java

后端 未结 7 1910
孤街浪徒
孤街浪徒 2020-12-09 09:19

I\'m having weird problem with java TimeZone..

Calling TimeZone.getDefault() gives my local time zone, which has an ID \"GMT+02:00\". Funny thing is

相关标签:
7条回答
  • 2020-12-09 09:59

    UTC is not GMT. When people (included Java educated engineering) start understanding this. GMT HAS daylight savings (yes!) UTC never changes (!). I would think that everybody should be aware of this just like the rule of leap year or leap minute.

    0 讨论(0)
提交回复
热议问题