Re: How to see if a time is within two other times.



Mark <mark.clementsREMOVETHIS@xxxxxxxxxx> wrote:

> ie
> if($endtime > $checkTime && $checkTime > $startTime){
>
> }

You mean:

if ( $start <= $check and $check <= $end ) {

}


--
John Small Perl scripts: http://johnbokma.com/perl/
Perl programmer available: http://castleamber.com/
Happy Customers: http://castleamber.com/testimonials.html

.