The following procedures are introduced for time in JAVA in comparison, was the time difference. For example, if you want to implement a function, can be submitted within 30 minutes, not more than 30 minutes after submission. Then: calculate the time difference ** / SimpleDateFormat sdf = new SimpleDateFormat (‘yyyy-MM-dd HH: mm: ss’); S. ..

The following procedures are introduced for time in JAVA in comparison, was the time difference. For example, if you want to implement a function, can be submitted within 30 minutes, not more than 30 minutes after submission. Then: