On Fri, May 14, 2004 at 11:27:53AM +0200, Andreas Schwab wrote: > Bauke Jan Douma <[EMAIL PROTECTED]> writes: > > > On Fri, May 14, 2004 at 12:51:20AM +0200, Andreas Schwab wrote: > >> "duncan brown" <[EMAIL PROTECTED]> writes: > >> > >> > date +%C reports the 20th century, but we've been in the 21st since jan 01, > >> > 00:00:00 > >> > >> %C century (year divided by 100 and truncated to an integer) [00-99] > > > > Surely this must be a Y2K-ism in the standard, no? > > Why? > > $ date +%C%y > 2004
I am sorry, I answered under the assumption that you wrote 'truncated to the closest integer'. Still, there is discrepancy in one common meaning of the word 'century' and the meaning it has here, as the original poster noted. Here it apparently means something like 'the century part of the full year-number.' BJ _______________________________________________ Bug-coreutils mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/bug-coreutils