Is there ever a good reason to store time not in UTC?

前端 未结 7 1626
失恋的感觉
失恋的感觉 2021-02-07 04:31

I am wondering if there are any good reasons to ever store time information in anything other that UTC (GMT)? I believe that this is a solid rule for all software engineering. T

7条回答
  •  有刺的猬
    2021-02-07 05:11

    Ever? I'm sure there are good reasons in some isolated cases. In general, though, storing UTC is much better than local time, so I would treat UTC as the default position unless there's some special consideration.

提交回复
热议问题