How to convert 'time' input to epoch time

Don’t know if this is same situation but here’s a scenario I ran into recently RM 5.1 Convert a string to time variable? - #7 by kenrok1 that may also help