Datetimeoffset support

Closes #349