How to change to 24 time format?


Hi

How to change the time format from 12 to 24 format?




Hello, 

Where are you testing it? On my side in web and mobile (iOs) is showing 24 format by default:

Can you please give a look on this post?

https://www.outsystems.com/forums/discussion/50778/time-format/#Post188639

Please test this on the input prompt parameter


Hope it helps.

BR,

Luis


Luís Cardoso wrote:

Hello, 

Where are you testing it? On my side in web and mobile (iOs) is showing 24 format by default:

Can you please give a look on this post?

https://www.outsystems.com/forums/discussion/50778/time-format/#Post188639

Please test this on the input prompt parameter


Hope it helps.

BR,

Luis


I'm using a time inputs but it all come with 12h format, I just to make it 24h format


I believe HH:mm is the right format for 24h, where should I write it?

Solution

Are you testing in bowser ou smartphone? That can be some configuration in your smartphone/time zone.

Did you try to use "%H:%M" in prompt property?

Can you send a print please?


Faris Abdullah Almozini wrote:

Luís Cardoso wrote:

Hello, 

Where are you testing it? On my side in web and mobile (iOs) is showing 24 format by default:

Can you please give a look on this post?

https://www.outsystems.com/forums/discussion/50778/time-format/#Post188639

Please test this on the input prompt parameter


Hope it helps.

BR,

Luis


I'm using a time inputs but it all come with 12h format, I just to make it 24h format



Solution

Here:


Faris Abdullah Almozini wrote:


I believe HH:mm is the write format for 24h, where should I write it?



Luís Cardoso wrote:

Here:


Faris Abdullah Almozini wrote:


I believe HH:mm is the write format for 24h, where should I write it?




I did it but still no luck, its still showing 12h format


Hi Faris,

Are you testing in bowser ou smartphone? That can be some configuration in your smartphone/time zone

Can you send a print please?


Faris Abdullah Almozini wrote:

Luís Cardoso wrote:

Here:


Faris Abdullah Almozini wrote:


I believe HH:mm is the write format for 24h, where should I write it?




I did it but still no luck, its still showing 12h format




Luís Cardoso wrote:

Hi Faris,

Are you testing in bowser ou smartphone? That can be some configuration in your smartphone/time zone

Can you send a print please?


Faris Abdullah Almozini wrote:

Luís Cardoso wrote:

Here:


Faris Abdullah Almozini wrote:


I believe HH:mm is the write format for 24h, where should I write it?




I did it but still no luck, its still showing 12h format





I'm testing it on browser not smartphone, I also attached the OML file.



Hi!

Here is showing 24h format.

Can you chek your browser/PC format for time?

Faris Abdullah Almozini wrote:


Hi

How to change the time format from 12 to 24 format?




This is being shown in the current format of the users Pc, this you will not overnight I think

pic 1 - I hade my pc clock as hh:mm PM = 07:30 PM

Pic 2 - Change my clock format to HH:MM - 19:30

Thanks Carlos,

That's why I told Faris to check the PC configuration for the time format before.


Carlos Lessa wrote:

Faris Abdullah Almozini wrote:


Hi

How to change the time format from 12 to 24 format?




This is being shown in the current format of the users Pc, this you will not overnight I think

pic 1 - I hade my pc clock as hh:mm PM = 07:30 PM

Pic 2 - Change my clock format to HH:MM - 19:30



And if you want to change the systems do like that: Add a variable CurrTime as Text, Add oninitialize logic to format the time, change the variable on the screen to the new one, after on save assign this new variable 

On save 

result:

Check the oml attached


Hope I could help you

Carlos Lessa