标签云

微信群

扫码加入我们

WeChat QR Code


See Jon Skeet's top voted answer ever.

2018年10月23日40分55秒

Tim Okay, I guess that pretty much spells doom for one such approach.

2018年10月23日40分55秒

Wikipedia also claims that UNIX epoch doesn't count leap seconds

2018年10月23日40分55秒

badp, Epoch time doesn't count leap seconds, so it moves ahead of "real" time each time there is a leap second. So if you are converting from "real" days to epoch days, your epoch day will not always be the same number of seconds.

2018年10月23日40分55秒

Don't have to wait for the next leap second. If your timezone "supports" daylight savings time, you get two days a year that don't have 24h

2018年10月23日40分55秒