As you probably know, you can setup date format in the Settings of an Android device.
In code how do we make sure that we use that format for date display?
As you probably know, you can setup date format in the Settings of an Android device.
In code how do we make sure that we use that format for date display?
Try android.text.format.DateFormat
, notably getDateFormatOrder()
to get the user's preferred date format.