Get Interval between current time and specific hour

Is there a way to get the interval between current time and a specific hour?
For example: Current time 10am, specific hour 7am.
I need to know how to store that interval into a Variable.