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

I used a base year of 2000 in my compact date formats, one because it allows hundreds of thousands of years, and the other because years closer to zero can be stored in less bits:

https://github.com/kstenerud/smalltime

https://github.com/kstenerud/compact-time



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

Search: