Calculating duration timestamp to seconds.
Merge pull request #254 from tomkrall/daytrotter-fixDurationCalculation

Daytrotter fix. Calc timestamp to seconds.