Archive for Time

Java millisecond precision

Posted in Programming with tags , , on November 17, 2006 by wsjoung

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

Advertisements