Reputation: 13374
SQLServer 2008 introduced a much welcome DateTimeOffset field type.
Version 3.5 upwards of .Net introduced a corresponding DateTimeOffset structure.
I am wondering how the same field is manipulated in C++. The documentation for CDBVariant
does not discuss DateTimeOffset.
How are DateTimeOffsets manipulated in C++?
Upvotes: 0
Views: 368
Reputation: 44921
I think this MSDN page might be useful to you. It includes an example in c++ on how to use the new date/time structures. From the page description:
This sample shows how to initialize the date/time data structures that were added in SQL Server 2008. It then prepares the input values, binds parameters, and executes the query. For more information about using these types, see Date/Time Improvements (ODBC).
Upvotes: 2