How to calculate the time interval

This thread describes another way to go, and it might help.

If it was me, I would probably do something hacky and somehow hide the date part of the picker or I would set it up so the user couldn’t change the date from the current date.