Jump to content
Sign in to follow this  

current time format on android

Recommended Posts


I'm trying to get current time format on android device, but it return always "h:nn AMPM". It doesn't matter if I set 24 hour format or 12 hour format on the device. Can someone advice what I'm doing wrong?


Sample code:


procedure TMainFrm.FormShow(Sender: TObject);
  fs : TFormatSettings;
  fs := TFormatSettings.Create;

Share this post

Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this