Changing timestamp calculation to use DateTimeOffset instead of DateTime

The timestamps coming from the client are already UTC, using
DateTimeOffset directly avoids the need to convert from a DateTime to a
DateTimeOffset later.

Tested manually via the debugger.