Jump to content

Maros

Members
  • Content Count

    1
  • Joined

  • Last visited

Posts posted by Maros


  1. Hello,

    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);
    var
      fs : TFormatSettings;
    begin
      fs := TFormatSettings.Create;
      ShowMessage(fs.ShortTimeFormat);
    end;

×