People keep mentioning leap seconds but those are really the least of the issues with a WallClock for uses like this. More significant issues would be NTP updates and user clock adjustment, which can change the wall clock years at a time. Anyone attempting to calculate deadlines or producing user visible times will certain have issues using offset APIs like those suggested.
5 Likes