In my Android project, I have 3 variables (string) :
String day = "26";
String month = "03";
String year = "1989";
I would like to have a variable (String date) with the date format of the device (depending of the langage) like this :
- If the device is in french, date = "26/03/1989"
- If the device is in english (USA), date = "03/26/1989"
- etc
How can I do that ?
Thanks