Guest

When would the Unix time end if it would be measured 1000 more precisely than it is now?

When would the Unix time end if it would be measured 1000 more precisely than it is now?

Grade:12th pass

3 Answers

Arun
25750 Points
4 years ago

No, Java doesn't have that ability.

It does have System.nanoTime(), but that just gives an offset from some previously known time. So whilst you can't take the absolute number from this, you can use it to measure nanosecond (or higher) precision.

Note that the JavaDoc says that whilst this provides nanosecond precision, that doesn't mean nanosecond accuracy. So take some suitably large modulus of the return value

Vikas TU
14149 Points
4 years ago
Dear student 
Please ask querry Related to IIT JEE , 
We will happy to help you …....................
Good Luck 
Cheers 
Yashraj
908 Points
3 years ago
please ask questions related to jee only try not to play on this forum 
hope your good health.........................

Think You Can Provide A Better Answer ?

ASK QUESTION

Get your questions answered by the expert for free