| title | getDateTimeOffset(int) (SQLServerResultSet) | Microsoft Docs |
|---|---|
| ms.custom | |
| ms.date | 01/19/2017 |
| ms.prod | sql |
| ms.prod_service | connectivity |
| ms.reviewer | |
| ms.technology | connectivity |
| ms.topic | conceptual |
| ms.assetid | 60abf83d-6f97-4e47-b9d3-5072bd09d869 |
| author | David-Engel |
| ms.author | v-daenge |
[!INCLUDEDriver_JDBC_Download]
This method was added in [!INCLUDEmsCoName][!INCLUDEssNoVersion] JDBC Driver 3.0.
Retrieves the value of the designated column as a DateTimeOffset Class object in the Java programming language given the parameter index.
public microsoft.sql.DateTimeOffset getDateTimeOffset(int columnIndex)
columnIndex
The column ordinal.
A DateTimeOffset Class object.
You can update a DateTimeOffset Class value with SQLServerResultSet.updateDateTimeOffset.