You might try DateTime::Span. You can do:
if ( $span->contains( $datetime ) ) { # ... }
To see if it falls within "start" and "end".
--
"Go up to the next female stranger you see and tell her that her "body is a wonderland."
My hypothesis is that she’ll be too busy laughing at you to even bother slapping you." (src)
In reply to Re: Seeing if a Time is Within a Range
by LTjake
in thread Seeing if a Time is Within a Range
by Dru
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |