Java tutorial
import java.util.UUID; public class Main { public static void main(String[] args) { // creating UUID UUID uid = UUID.randomUUID(); // checking time stamp value System.out.println("Time stamp value: " + uid.timestamp()); } }