2 ms·
The answer is right there in the text from K&R. `tm_mday` is day of the month, `tm_mon` is months since January. There's nothing else to it really. The first mo
by globular-toast 6y ago
The answer is right there in the text from K&R. `tm_mday` is day of the month, `tm_mon` is months since January. There's nothing else to it really. The first month of the year is not "1", it's January. In any case, this is all about how we display dates and it's all rather silly and it's best not to think about it too much.