Home > Programming > Java millisecond precision

Java millisecond precision

November 17th, 2006 admin Leave a comment Go to comments

There is another useful method under System class. usually I use just in, out, or err something like those methods under System. But,

long current = System.currentTimeMillis(); // Returns the current time in milliseconds.
definitely I need this to work with network program.

Class System

Categories: Programming Tags: , ,
  1. No comments yet.
  1. No trackbacks yet.