I always used the regular timetosec() from xbtools
Brian Wolfsohn
Retired and traveling around the country to music festivals in my RV.
OOPS.. Corona Virus, so NOT traveling right now... http://www.breadmanrises.com
FB travel group: The Breadman Rises