Using SimpleDateFormat in Java
<p>I want to change the time  in java when a button is pressed.i am using SimpleDateFormat to display time.i want the user to change time by clicking a button,pls help me.</p>
