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

Re: Hmm...

I can remember when I was younger (dare I mention the name a Microsoft product) doing something similar with QBasic.

Sent from my BlackBerry® wireless device

-----Original Message-----
From:  Rainer Kluge <rkluge50@web.de>

Date:  Thu, 01 Jan 2009 13:00:56 
To: <debian-user@lists.debian.org>
Subject:  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)'

To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

Reply to: