FW: Strftime's %C and %y formats versus wide-ranging tm_year valu es

Olson, Arthur David (NIH/NCI) olsona at dc37a.nci.nih.gov
Tue Sep 28 14:06:40 UTC 2004


Bradley White has quite rightly pointed out that sizeof's are no-no's in
preprocessor directives.
Of course it's possibly to simply...
	typedef long long		raw_year_type;
...and use the defined type for year-holding variables to avoid problems
with really big tm_year values.

				--ado



More information about the tz mailing list