Sept. 22, 2004
6:14 p.m.
"Olson, Arthur David (NIH/NCI)" <olsona@dc37a.nci.nih.gov> writes:
4. Using the format "%C%y" produces the year in all cases (with leading zeroes in some cases).
That is a very nice property, one I hadn't seen or thought of before. Good work! I can't think of any way to improve on that approach.
tm_year %C %y ... 0 00 00 -1 -0 01 ... -100 -1 00 ... -1000 -10 00
One very small point: tm_year is actually the year minus 1900, so the header for column 1 should be "Gregorian year" or just plain "year".