Consider adding a parameter, that controls, whether the dates/times should be converted to some target timezone at all or the server/column timezone should be used, when presenting data in ODBC timestamp etc. data structures, that are timezone-unaware.
Implement timezone conversion for all formats. All the machinery is ready, only the conversion should be implemented. Currently, RowBinaryWithNamesAndTypes is not consistent with ODBCDriver2. See:
RowBinaryWithNamesAndTypes
is not consistent withODBCDriver2
. See:DateTime
tests (all tests should not depend on server or local timezones and wire formats)WireTypeDate***AsInt
structs and their conversion methods.