can use instanceof Date as well as number
Merge branch 'master' of https://github.com/tjb1982/expiry