--- title: "updateTime Method (int, java.sql.Time) | Microsoft Docs" ms.custom: "" ms.date: "01/19/2017" ms.prod: sql ms.prod_service: connectivity ms.reviewer: "" ms.technology: connectivity ms.topic: conceptual apiname: - "SQLServerResultSet.updateTime (int, java.sql.Time)" apilocation: - "sqljdbc.jar" apitype: "Assembly" ms.assetid: fa7a3ca5-1111-4480-97ca-65b632aa1e5b author: David-Engel ms.author: v-daenge --- # updateTime Method (int, java.sql.Time) [!INCLUDE[Driver_JDBC_Download](../../../includes/driver_jdbc_download.md)] Updates the designated column with a time value given the column index. ## Syntax ``` public void updateTime(int index, java.sql.Time x) ``` #### Parameters *index* An **int** that indicates the column index. *x* A time value. ## Exceptions [SQLServerException](../../../connect/jdbc/reference/sqlserverexception-class.md) ## Remarks This updateTime method is specified by the updateTime method in the java.sql.ResultSet interface. ## See Also [updateTime Method (SQLServerResultSet)](../../../connect/jdbc/reference/updatetime-method-sqlserverresultset.md) [SQLServerResultSet Members](../../../connect/jdbc/reference/sqlserverresultset-members.md) [SQLServerResultSet Class](../../../connect/jdbc/reference/sqlserverresultset-class.md)