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

Mysql's unix_timestamp() breaks on years past mid 2038...so plan for that one too.


OpenBSD[1]:

> time_t is now 64 bits on all platforms.

Linux[2]:

> The vast majority of 64-bit hosts use 64-bit time_t. This includes GNU/Linux, the BSDs, HP-UX, Microsoft Windows, Solaris, and probably others. There are one or two holdouts (Tru64 comes to mind) but they're a clear minority.

This is little help for older, already deployed systems, of course.

[1]: https://www.openbsd.org/55.html

[2]: https://mm.icann.org/pipermail/tz/2004-June/012483.html


Good to know. I was, though, specifically taking about a function inside MySQL.




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

Search: