in reply to Re^2: Check if Date interval contains Hour X
in thread Check if Date interval contains Hour X

That introduced a bug. hour_in_range no longer performs as documented. Test case:
2010-10-10 01:59:59|2010-10-10 01:59:59|blablalblabla

Replies are listed 'Best First'.
Re^4: Check if Date interval contains Hour X
by alexm (Chaplain) on Jul 23, 2009 at 22:41 UTC

    I see. In order to check only the hour (skipping minutes and seconds), $dt_s must be truncated to the hour.