[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Hmm...

Tzafrir Cohen schrieb:
 > Also, a perl one-liner for you:

perl -MPOSIX -e 'print POSIX::strftime("year of %F: is it %Y or
%G?\n", 0, 0, 0, 31, 11, 108)'

So what? It just tells us that, from an ISO standard point of view, the
current week is week 01 of 2009. replace 31 by 29 and you'll get the
same result:

perl -MPOSIX -e 'print POSIX::strftime("week of %F: is it %U of %Y or %V of %G?\n", 0, 0, 0, 29, 11, 108)'

Reply to: