util function to convert timespan to seconds
new trending