# Time text Edit - Change 12-hour format in 24-hour

**URL:** <https://community.appfarm.io/t/time-text-edit-change-12-hour-format-in-24-hour/1142>\
**Category:** Ask the community\
**Tags:** ui\
**Created:** [April 3, 2024, 5:19pm UTC](https://community.appfarm.io/t/time-text-edit-change-12-hour-format-in-24-hour/1142 "2024-04-03T17:19:47Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![JustineC](https://avatars.discourse-cdn.com/v4/letter/j/ecae2f/32.png) [@JustineC](https://community.appfarm.io/u/JustineC)\
**Post date:** [April 3, 2024, 5:19pm UTC](https://community.appfarm.io/t/time-text-edit-change-12-hour-format-in-24-hour/1142/1 "2024-04-03T17:19:47Z")

</div>

"Hello everyone,

I’m wondering if it’s possible to display time in a 24-hour format rather than the standard 12-hour format (AM/PM) in a time text edit field. Any insights on how to achieve this would be appreciated.  
Thank you!

---

<div class="post-metadata">

**Author:** ![Simona](https://dub1.discourse-cdn.com/flex013/user_avatar/community.appfarm.io/simona/32/201_2.png) [@Simona](https://community.appfarm.io/u/Simona)\
**Post date:** [April 4, 2024, 5:35am UTC](https://community.appfarm.io/t/time-text-edit-change-12-hour-format-in-24-hour/1142/2 "2024-04-04T05:35:10Z")

</div>

Hello @JustineC and welcome to our community!

When you notice that the browser is displaying time in the AM/PM format, it’s typically a reflection of the user’s browser settings, specifically their locale preference, which favors the 12-hour clock over the 24-hour format. See [here](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/time) for more details.

Unfortunately, there’s no direct method to override this. However, as a workaround, you might consider utilizing the [date & time picker](https://docs.appfarm.io/library/ui-components/date-and-time-picker) instead.

Should you have any more questions or need further assistance, please don’t hesitate to reach out.
