Time to secs

Hi...
did exist any command to transform time in seconds?... some like "Secs2time" but inverse (...time2secs or something like that)