[ANNOUNCE] London.pm Dim Sum, Wednesday 3rd March, Docklands
Sue Spence
virtuallysue at gmail.com
Tue Mar 4 13:44:41 GMT 2014
On 4 Mar 2014 00:59, "Paul "LeoNerd" Evans" <leonerd at leonerd.org.uk> wrote:
> On Mon, 3 Mar 2014 21:45:53 +0000
> Tom Hukins <tom at eborcom.com> wrote:
>
> > Subject: [ANNOUNCE] London.pm Dim Sum, Wednesday 3rd March, Docklands
>
> Shome mishtake shurely?
>
> Perhaps you mean Wednesday 5th?
>
> Why do you ask? You probably didn't believe that he was setting up a
group lunch date in another year. :-) However, now that you've mentioned
it I've looked into the matter using our favourite programming language,
and the next time March 3rd is on a Wednesday won't be until 2021. The
last time it happened was 2010.
use warnings;
use strict;
use DateTime;
for my $year (2005 .. 2025) {
my $dt = DateTime->new(
year => $year,
month => 03,
day => 03,
);
print $year . " is a wednesday\n" if $dt->day_of_week == 3;
}
More information about the london.pm
mailing list