In our Java application we are trying to get the UNIX time from the UUID version 1. But it's not giving the correct date time values.
long time = uuid.timestamp();
time = time / 10000L; // Dividing by 10^4 as it's in 100 nanoseconds precision
Calendar c = Calendar.getInstance();
c.setTimeInMillis(time);
c.getTime();
Can someone please help?