Lars Ljungberg
Lars Ljungberg

Reputation: 313

Delphi XE7 Firemonkey: How to get locale dateformat set in device?

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

Answers (1)

Yaroslav Brovin
Yaroslav Brovin

Reputation: 964

FormatSettings.ShortDateFormat; and FormatSettings.LongDateFormat;

Upvotes: 2

Related Questions