in reply to Re^3: Check if Date interval contains Hour Xin thread Check if Date interval contains Hour X
I see. In order to check only the hour (skipping minutes and seconds), $dt_s must be truncated to the hour.