SyntaxFix
Write A Post
Hire A Developer
Questions
Time time = new Time(); time.setToNow(); System.out.println("time: " + time.hour+":"+time.minute);
This will give you, for example, 12:32.
Remember to import android.text.format.Time;