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

Re: [Omaha.pm] [pm_groups] Calculate next meeting date




:)

j


-------- Original Message --------
Subject: Re: [pm_groups] Calculate next meeting date
Date: Wed, 03 May 2006 16:37:35 +0200
From: Harald Joerg <haj@oook.m.uunet.de>
To: pm_groups@pm.org
References: <445802EC.5030102@jays.net>

Jay Hannah writes:

This is a pretty slick combination of Date::Calc and Class::Date, IMHO:

http://omaha.pm.org/nextmtg_pl.txt

   (In action: http://omaha.pm.org)

Anyone have a tighter version?  :)

At Munich.pm, we're meeting at the third wednesday in odd months.  We
had an internal perlgolf competition about that, and this has been the
winner (the task was to output the *two* next meetings in ISO format):

($/,$%,$.,$-)=(gmtime($^T+=86400))[3..6]while($/-18)/4|$%%2|$--3||++$"&printf 1900+$.."-%02d-$/\n",++$%

On the last meeting it has been shortened by some bytes in a
collaborative effort, but I seem to have lost the results.
--
Cheers,
haj (Munich.pm)

--
Request pm.org Technical Support via support@pm.org

pm_groups mailing list
pm_groups@pm.org
http://mail.pm.org/mailman/listinfo/pm_groups