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

It is lifted from C's struct tm. If you're maintaining tables of month names you're going to 0-index them so tm_mon is 0-based to facilitate that.



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

Search: