Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
#!/usr/bin/perl use strict; use warnings; use Time::Piece; my $t = Time::Piece->new; my $month = $t->mon; my $year = $t->year; for my $days ($month) { my $dates = Time::Piece->strptime("$month/$days/$year" . '01', '% +m%d%Y%')->wday); }
03/01/2014 03/02/2014 ... 03/31/2014
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: List of days in current month
by toolic (Bishop) on Mar 13, 2014 at 18:38 UTC | |
by Anonymous Monk on Mar 13, 2014 at 19:33 UTC | |
|
Re: List of days in current month
by Limbic~Region (Chancellor) on Mar 13, 2014 at 18:36 UTC | |
|
Re: List of days in current month
by ambrus (Abbot) on Apr 18, 2014 at 12:39 UTC | |
|
Re: List of days in current month
by Lennotoecom (Pilgrim) on Mar 14, 2014 at 06:59 UTC | |
by Anonymous Monk on Mar 14, 2014 at 14:14 UTC | |
by Lennotoecom (Pilgrim) on Mar 14, 2014 at 15:06 UTC | |
by choroba (Cardinal) on Mar 14, 2014 at 15:34 UTC | |
by Lennotoecom (Pilgrim) on Mar 14, 2014 at 18:03 UTC | |
by runrig (Abbot) on Mar 14, 2014 at 15:21 UTC | |
by Lennotoecom (Pilgrim) on Mar 14, 2014 at 18:03 UTC | |
by Lennotoecom (Pilgrim) on Mar 14, 2014 at 12:26 UTC |