Fix timestamp floating point conversion into integer. Fixes #116
Simplify and assume there are no negative timestamps
Merge pull request #119 from fdelapena/master

Fix timestamp floating point conversion into integer. Fixes #116