java.lang Class System static long currentTimeMillis() Returns the current time in milliseconds.
system's milliSecond:long curMilliSecond = System.currentTimeMillis();//milliseconds between now and 00:00 January 1, 1970 UTCor system's nanoSecond:long curNanoSecond = System.nanoTime();//the current value of the system timer, in nanosecondsor the hashCode of UDI:int UIDHashCode = (new java.rmi.server.UID()).hashCode();//the hash code value for this UID. notes:this method overrides the method java.lang.Object.hashCode();or just to use UID:String UIDString = (new java.rmi.server.UID()).toString();//a string representation of this UID
Class System
static long currentTimeMillis()
Returns the current time in milliseconds.