Returns a Timestamp representing the current time (based on the JVM clock), with an unknown local offset. The resulting Timestamp will be precise to the millisecond. @return a new Timestamp instance representing the current time.
()
| 1532 | * a new Timestamp instance representing the current time. |
| 1533 | */ |
| 1534 | public static Timestamp now() |
| 1535 | { |
| 1536 | long millis = System.currentTimeMillis(); |
| 1537 | return new Timestamp(millis, UNKNOWN_OFFSET); |
| 1538 | } |
| 1539 | |
| 1540 | /** |
| 1541 | * Returns a Timestamp in UTC representing the current time (based on the |