in reply to Seeing if a Time is Within a Range
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)
|
|---|