Look into SimpleDateFormat
SimpleDateFormat sdf = new SimpleDateFormat("dd/MM/yyyy");
sdf.format(new Date(myTimeAsLong));
More Related Contents:
- Android Get Current timestamp?
- How to convert a string Date to long millseconds
- Writing to a file errors – Android Studio
- Display Animated GIF
- custom listview adapter getView method being called multiple times, and in no coherent order
- Error:Execution failed for task ‘:app:dexDebug’. com.android.ide.common.process.ProcessException
- Why I cant use the populateViewHolder override method?
- AndroidRuntime error: Parcel: unable to marshal value
- Android Layout with ListView and Buttons
- What kind of OCR Java library should I use in Android? [closed]
- Firebase Realtime Database Search by word in between the query?
- Click is not working on the Listitem Listview android
- SRC folder in Eclipse is empty (MainActivity class not created) after creating a new android project using Eclipse
- Android SimpleDateFormat, how to use it?
- How to hide a View programmatically?
- Android – onRequestPermissionsResult() is deprecated. Are there any alternatives?
- Android View Clipping
- Android – set TextView TextStyle programmatically?
- What’s the difference between this and Activity.this
- How do I detect the heap size usage of an android application
- Getting difference between two dates Android
- Exception in thread “main” java.lang.NoClassDefFoundError: junit/textui/ResultPrinter
- Can Activity.getIntent() ever return null?
- Is Hibernate an overkill for an Android application? [duplicate]
- Android java.lang.NoClassDefFoundError: org.jsoup.Jsoup
- C++ ifstream.getline() significantly slower than Java’s BufferedReader.readLine()?
- Code for download video from Youtube on Java, Android
- java.io.IOException: grpc failed
- After upload a file in Android Firebase Storage how get the file download Url? getDownloadUrl() not working
- Reflection to access advanced telephony features