SyntaxFix
Write A Post
Hire A Developer
Questions
This will do it:
Date date = new Date(); java.text.DateFormat dateFormat = android.text.format.DateFormat.getDateFormat(getApplicationContext()); mTimeText.setText("Time: " + dateFormat.format(date));