Hacker News new | past | comments | ask | show | jobs | submit login




Not for the task at hand. The initial d was divided down from an unsigned 32-bit timestamp in seconds from the Unix epoch (hence the 1970.) It accounts for 2000 (leap) and 2100 (not leap), after which the u32 overflows.




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

Search: