Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
Any ideas? Thank you all!#!/usr/bin/perl use strict; use warnings; use Time::Piece; # Create Time::Piece New Object my $time = Time::Piece->new(); # Given a date, lets say "2016-04-01". my $date1 = "2016-04-01"; my $date2 = "2016-03-25"; print "Week 1 of April"; print "Week 4 of March";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Week number of the month
by toolic (Bishop) on Mar 25, 2016 at 20:02 UTC | |
|
Re: Week number of the month
by GotToBTru (Prior) on Mar 25, 2016 at 19:58 UTC | |
by Anonymous Monk on Mar 25, 2016 at 20:01 UTC | |
|
Re: Week number of the month
by FreeBeerReekingMonk (Deacon) on Mar 25, 2016 at 22:27 UTC | |
|
Re: Week number of the month
by dasgar (Priest) on Mar 27, 2016 at 04:00 UTC |