In our java application we are trying to get the unix time from the type 1 uuid. But its not giving the correct date time values.
long time = uuid.timestamp(
In my case, the following code worked.
final long NUM_100NS_INTERVALS_SINCE_UUID_EPOCH = 0x01b21dd213814000L; UUID uuid = UUID.fromString("6470d760-d93d-11e9-8b32-858313a776ba"); long time = (uuid.timestamp() - NUM_100NS_INTERVALS_SINCE_UUID_EPOCH) / 10000; // Rest of code as before