How we can update the System Date,in java

Hi guys,

can U pls help me...

How we can update the System Date,in java

I need to get the System Date and time continuosly thruogh threads concept.kindly help me

Thanking u in Advance

[215 byte] By [mahesh@esha] at [2007-11-27 10:42:18]
# 1

System.currentTimeMillis() will give you the current system date and time as a long value.

~

yawmarka at 2007-7-28 19:17:35 > top of Java-index,Java Essentials,Java Programming...
# 2

new Date() and Calendar.getInstance(...) both get the current time

-Puce

Pucea at 2007-7-28 19:17:35 > top of Java-index,Java Essentials,Java Programming...
# 3

Not sure if this is what u want but i've updated my time demo.

http://www.engineeringserver.com/t3hc0d3z/java+programming/using+threads+to+display+the+time-t105.0.html;new#new

deAppela at 2007-7-28 19:17:35 > top of Java-index,Java Essentials,Java Programming...
# 4

> System.currentTimeMillis() will give you the current

> system date and time as a long value.

>

> ~

I think the OP wants to change the system time not just get the system time.

jbisha at 2007-7-28 19:17:35 > top of Java-index,Java Essentials,Java Programming...