How to query the phone's data time format

Login to reply to this topic.
Sun, 2006-03-26 18:24
Joined: 2006-01-25
Forum posts: 24
In phone settings user can change the data format to DD/MM/YYYY, MM/DD/YYYY or YYYY/MM/DD and time format to 12 hours and 24 hours

Any API can query the phone's data time format? My App want to show and format some date time relative information exactly same to phone's date time settings.

Sun, 2006-03-26 20:30
Joined: 2004-08-19
Forum posts: 112
Re: How to query the phone's data time format
In this particular case, it's even easier to use TTime::FormatL(). The format string of "%1%/1%2%/2%3", for instance, will display the date exactly as set by the user.

Bye,
Gábor

Mon, 2006-03-27 05:08
Joined: 2006-01-25
Forum posts: 24
Re: How to query the phone's data time format
Thanks Smiley
  • Login to reply to this topic.