I've been taking an ACE inhibitor combined with a diuretic (HCTZ) for the last 25 years or so. I take it in the morning right after I start the coffee maker and I don't have sudden urges to run to the bathroom. Having said that, I do get the urge to go 2 or 3 times in the first few hours. And I'm sure the 36oz of coffee I drink has nothing to do with that
I have contemplated taking it at night to help with night time wetting, but I find drinking a glass of water (12 to 16 oz) an hour or 2 before bedtime works fine for that.