Why Hacker News recommends it
3 comments from 1 distinct recommending reader, between 2020 and 2022.
- Recommends
"Why is day of the month 1-indexed but the month is 0-indexed in C?" This Twitter thread from November 2020[1] and its HackerNews discussion[2] seem relevant. 1: twitter.com/hillelogram/status/13292284… 2: news.ycombinator.com/item?id=25195287
History of Zero-Based Months?Read the thread - Cites it
No. It’s definitely older than that. mobile.twitter.com/hillelogram/status/1…...
Is It Time for the JavaScript Temporal API?Read the thread - Cites it
Doesn't predate Unix according to him > I stopped at Unix 5, from 1974. It didn't even have a file! In its file, it stores the date as an array of integer values. The `tm` struct only starts appearing in Unix 7. mobile.twitter.com/hillelogram/status/1…...
Why is day of the month 1-indexed but the month is 0-indexed in C?Read the thread