Time to secs

Hi...
did exist any command to transform time in seconds?... some like "Secs2time" but inverse (...time2secs or something like that)
I have posted a snippet that parses date, time and date/time strings, returning values in Igor date/time format (seconds since January 1, 1904).