I'm creating a prayer app. In my app, I calculate upcoming prayer remaining time(by comparing current time) and my countdown timer starts. But, when last prayer(Isha) countdown timer ends then, I've to calculate countdown timer for tomorrow first(Fajr) prayer with current time.
I don't know how to calculate remaining time for tomorrow first prayer?
I've tomorrow first prayer(fajr) time. Please help.