added date calculation
Merge branch 'master' of https://github.com/StatSol/reportsmith