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

前端 未结 7 1773
失恋的感觉
失恋的感觉 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条回答
  •  -上瘾入骨i
    2021-02-07 05:11

    UTC is a time-keeping standard that has the accuracy and precision of TAI, but with leap seconds added in at irregular intervals to allow it to closely track mean solar time (UT1).

    If the system that you are working with cannot handle leap seconds, then the Bureau International des Poids et Mesures recommends that TAI be used instead of UTC.

    See: http://tycho.usno.navy.mil/leapsec.html

提交回复
热议问题