Need help getting hour and miniute values out of whisper

From statement “Jarvis turn on/off device X in X hours and X minutes or X hours or X minutes.” how do I extract the hour and minute values from faster-whisper to add to now time? Any help would be great!