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();
                        timeofchange.setText("" + now);

and it returns 20120401T232303GMT(0,91,0,0,1333322583)

Im trying to get the time formatted  YYYYMMDDTHHMMSS format  ... is
this the best way to do this ?

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to