Time control using a switch

It would be easier to know where you are going wrong if you post your flow. Please read the following post How to share code or flow json and then post your flow