Perl-Sensitive Sunglasses | |
PerlMonks |
Re: current time between two timeby vinoth.ree (Monsignor) |
on Mar 04, 2014 at 18:31 UTC ( [id://1076927]=note: print w/replies, xml ) | Need Help?? |
Hi, Time::Period also helpful in your case, As document in CPAN, The inPeriod function determines if a given time falls within a given period. inPeriod returns 1 if the time does fall within the given period, 0 if not, and -1 if inPeriod detects a malformed time or period. All is well
In Section
Seekers of Perl Wisdom
|
|