| title | valueOf Method (java.sql.Timestamp, int) | Microsoft Docs | |
|---|---|---|
| ms.custom | ||
| ms.date | 01/19/2017 | |
| ms.prod | sql-non-specified | |
| ms.reviewer | ||
| ms.suite | ||
| ms.technology |
|
|
| ms.tgt_pltfrm | ||
| ms.topic | article | |
| ms.assetid | 114f55af-62ab-4c60-8724-0affbbbbbcdc | |
| caps.latest.revision | 6 | |
| author | MightyPen | |
| ms.author | genemi | |
| manager | jhubbard | |
| ms.workload | Inactive |
[!INCLUDEDriver_JDBC_Download]
Creates a DateTimeOffset object representing a point in time at a particular offset from GMT given a java.sql.Timestamp value and a value indicating the offset in minutes.
public static DateTimeOffset valueOf(java.sql.Timestamp timestamp, int minutesOffset)
timestamp
Ajava.sql.Timestamp value.
minutesOffset
The offset in minutes.
Returns a DateTimeOffset object representing the point in time given by the java.sql.Timestamp object at the given offset, in minutes, from GMT.