Hello Dirk Schreckmann, Can u please elaborate the above said? Ravi
posted 17 years ago
Running that statement on a system will give you a long that represents the system's time in milliseconds since the beginning of the universe. Depending what you want to do with the information, you could use it to construct a Date object and a Time object, and then you'd have objects representing the Date and Time of the system that the code were running on.
Of course a java.util.Date object also includes time information, so you may not need a separate Time object. Have you figured out what you need. If not, what are you trying to do with the information?