Below is my code.
public class TestCalendar { public static void main(String[] args){ int unique_id = Integer.parseInt(\"\" + Calendar.HOUR + Calendar.M
I am not sure what is requirement but if you want system time then may be you can use this "System.currentTimeMillis()"