I know this is a pretty n00by question but it’s sort of confusing me as there are so many ways to do it.
I live in England so our date is ‘Day-Month-Year’. So on my app I want to store the date when something happens and then display it. But in America the date is ‘Month-Day-Year’, previously I have gotten several emails saying that someone did something on the 12 January and it saying they did it the 1 December.
I can get the Locale from the device, so I’m wonder what is the best way to get the localized date with Day, Month and Year in it.
Any help would be much appreciated. Thanks! 🙂
Try this