fix date handling

- handle instances older than one day
- correct calculation of date offset
Merge branch 'master' of github.com:GoogleCloudPlatform/compute-appengine-timeout-python into date-fixes
tweak date calculation for truncated seconds
Merge pull request #2 from GoogleCloudPlatform/date-fixes

Fix some errors calculating dates.