Reputation: 313
I'm writing a mobile application for both iOS and Android and need to get the locale dateformat set in the device to display the date correct in tables and graphs. How to get that format information? I have searched both on google and within SO, without finding anything.
Any help would be appreciated.
/Lars
Upvotes: 0
Views: 1247
Reputation: 964
FormatSettings.ShortDateFormat; and FormatSettings.LongDateFormat;
Upvotes: 2