Java tutorial
//package com.java2s; import java.util.UUID; public class Main { public static String getGUID() { String uuid = UUID.randomUUID().toString(); String guid = uuid.replaceAll("-", "").toLowerCase() + System.currentTimeMillis(); return guid; } }