Time AM/PM

Hi, I have a question, is it possible to set the time format to appear with AM/PM, for example, 08:00 AM ?

Hola, tengo una pregunta, ¿es posible configurar el formato de hora para que aparezca con AM/PM, por ejemplo, 08:00 AM?

Hi @nazaret,

The format-date-time operator accepts following formatting, according to Form Operators and Functions — ODK Docs

%H 0-padded hour (24-hr time)
%h hour (24-hr time)
%M 0-padded minute
%S 0-padded second
%3 0-padded millisecond ticks.

So setting it to display AM/PM seems not easy, Kal suggested something else before:

Hope this works.

1 Like

but, we need that the interviewer carries out the survey it appears like this AM/PM :frowning:

@nazaret, I made a quick test, the Enketo Web Form uses browser’s language to determine am / pm or 24 hour time, in a time type question. English (United States) language selected in Google Chrome:


So eventually, it will come to which language your interviewer uses in their device.

Hope this helps.

1 Like

@hakan_cetinkaya, :clap: :heart: :partying_face:

Hi everyone, there is a way to set up the time in AM/PM format also on the Kobo collect APP for Android? Thank you!