Home > Blockchain >  Why do Swift's Date time intervals ignore leap seconds?
Why do Swift's Date time intervals ignore leap seconds?

Time:03-02

30 June 2012 had a leap second. As such it lasted 86401 seconds. However, in the following Swift code, timeInterval is 86400. How come?

  • Related