Created
July 22, 2015 21:41
-
-
Save studiofuga/c57115a55edeb3942c8e to your computer and use it in GitHub Desktop.
Forma Date and Time in Android
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Date mDate = new Date(); | |
String s = DateUtils.formatDateTime(this, mDate.getTime(), DateUtils.FORMAT_SHOW_DATE | DateUtils.FORMAT_SHOW_TIME); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment