Watcher: How to convert the execution_time to epoch time

I am also alternatively checking if the execution_time (as in the watcher response) can be sent as is to the external system. instead of converting it to unix epoch time.