3 ms·
I’m quite surprised that Unix time is so common. My anecdotal experience with dozens of public and internal APIs over 20 years of development is that the most c
by softwarebeware 5y ago
I’m quite surprised that Unix time is so common. My anecdotal experience with dozens of public and internal APIs over 20 years of development is that the most common format is local time followed by ISO. I actually have almost never seen Unix time.
- jaywalk 5y agoLocal time? In a public API?
- softwarebeware 5y agoProgrammers are lazy. I've seen more than my fair share of the default behavior of a language like Java implemented. Which usually means just making a system call for the current time and will return the time in whatever time zone the system happens to be set for.
- hnbad 5y agoIf I had a penny for every time I assume an API takes Unix time in milliseconds or seconds and it turns out to be the other...