Return seconds between Date x and Date y
for calculation of duration in seconds from DateTime x to DateTime y
let duration=Date.secondsBetweenDates(Date(2020,01,10,15),Date(2020,02,15,18));