--- title: "DateTimeOffset Members | 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: 9ee3cff7-a422-4805-8516-a8d9d1eb2731 author: David-Engel ms.author: v-daenge --- # DateTimeOffset Members [!INCLUDE[Driver_JDBC_Download](../../../includes/driver_jdbc_download.md)] The following tables list the members that are exposed by the [DateTimeOffset Class](../../../connect/jdbc/reference/datetimeoffset-class.md) class. ## Constructors None. ## Fields None. ## Methods |Name|Description| |----------|-----------------| |[compareTo](../../../connect/jdbc/reference/compareto-method-datetimeoffset.md)|Compares this **DateTimeOffset** object to another **DateTimeOffset** object based on their time at GMT.| |[equals](../../../connect/jdbc/reference/equals-method-datetimeoffset.md)|Compares this **DateTimeOffset** object to another **Object**.| |[getMinutesOffset](../../../connect/jdbc/reference/getminutesoffset-method-datetimeoffset.md)|Returns the offset, in minutes from GMT, of this **DateTimeOffset** object.| |[getTimestamp](../../../connect/jdbc/reference/gettimestamp-method-datetimeoffset.md)|Returns the point in time represented by this **DateTimeOffset** object as a java.sql.Timestamp.| |[hashCode](../../../connect/jdbc/reference/hashcode-method-datetimeoffset.md)|Returns a hash code value for the object.| |[toString](../../../connect/jdbc/reference/tostring-method-datetimeoffset.md)|Returns a string representation of the **DateTimeOffset** object.| |[valueOf](../../../connect/jdbc/reference/valueof-method-datetimeoffset.md)|Creates a **DateTimeOffset** object representing a point in time at a particular offset from GMT.| ## Inherited Methods |Class inherited from:|Methods| |---------------------------|-------------| |class java.lang.Object|clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait,| ## See Also [DateTimeOffset Class](../../../connect/jdbc/reference/datetimeoffset-class.md)