Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

In theory or in practice, where can you not get POSIX time?

(aside from devices with no RTC or for other reasons can't keep any time at all)



POSIX time isn't quite an elapsed time standard, thanks to the absence of leap seconds.


Wall clock time should never be used to measure time when these seconds matter. Like I said in grandparent comment:

> for time measurements you should always use a monotonic clock, not wall clock.

POSIX time isn't a time elapsed standard. Yes. But neither is iso8601, timestamp+timezone, everyday speak time "tomorrow at noon", or any of these other options.

So I'm not sure what your point is, other than to say that a hammer is not a screwdriver.




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: