My Oracle Support Banner

Does Java Determine the Date/Time from the Operating System or the Hardware Clock (Doc ID 2619721.1)

Last updated on JANUARY 20, 2023

Applies to:

Oracle JRockit - Version R28.2.0 and later
Java SE JDK and JRE - Version 6 and later
Information in this document applies to any platform.

Goal

For the following APIs, does Java determine the date/time information from the operating system (OS) or the hardware clock?

 

Note that the JRockit date/time implementation is the same as Java SE 6, so this information also applies to JRockit.

Solution

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Goal
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.