Compare to Time Value

Ensure that your variables are in the datetime format, and you can use an if activity (or a decision if using a flowchart).