[android-developers] Return formatted time

2012-04-01 Thread aikidoguy
Im trying to get the time a button is pressed and display it on the screen case R.id.btoMovies: statuschange.setText(To Movies); mystatus=2; Time now = new Time(); now.setToNow();

[android-developers] Return formatted time

2012-04-01 Thread aikidoguy
Im trying to get the time a button is pressed and display it on the screen case R.id.btoMovies: statuschange.setText(To Movies); mystatus=2; Time now = new Time(); now.setToNow();

Re: [android-developers] Return formatted time

2012-04-01 Thread Mark Murphy
Use SimpleDateFormat. On Sun, Apr 1, 2012 at 7:34 PM, aikidoguy clayrichmo...@gmail.com wrote: Im trying to get the time a button is pressed and display it on the screen case R.id.btoMovies:                        statuschange.setText(To Movies);                        mystatus=2;