4 ms·
Mysql's unix_timestamp() breaks on years past mid 2038...so plan for that one too.
by tyingq 9y ago
Mysql's unix_timestamp() breaks on years past mid 2038...so plan for that one too.
- estebank 9y agoOpenBSD[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 https://www.openbsd.org/55.html [2]: https://mm.icann.org/pipermail/tz/2004-June/012483.html https://mm.icann.org/pipermail/tz/2004-June/012483.html
- tyingq 9y agoGood to know. I was, though, specifically taking about a function inside MySQL.