# Time format. How to make it 24 hour format

**URL:** <https://discourse.nodered.org/t/time-format-how-to-make-it-24-hour-format/36385>\
**Category:** Dashboard\
**Created:** [23 November 2020 09:57 UTC](https://discourse.nodered.org/t/time-format-how-to-make-it-24-hour-format/36385 "2020-11-23T09:57:01Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Trying\_to\_learn](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/trying_to_learn/32/28400_2.png) [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Post date:** [23 November 2020 09:57 UTC](https://discourse.nodered.org/t/time-format-how-to-make-it-24-hour-format/36385/1 "2020-11-23T09:57:01Z")

</div>

Sorry but this has me confused.

I am using a node and on their demo screen the times are shown in 24 hour format.

When I try, I get it in 12 hour format.

(Not against the reply)  
I asked and got this back:

> The time input field is a standard HTML control, it shows 24/12 hour clock based on your browser language.  
> A browser language **English (United States)** shows a 12 hour clock (therefore with AM/PM), while **English (United Kingdom)** shows the 24 hour clock.

So, I'm stuck/confused.

Just to also clarify, I have changed the browser language from United States to United Kingdom and it doesn't seem to make any difference.

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [23 November 2020 10:35 UTC](https://discourse.nodered.org/t/time-format-how-to-make-it-24-hour-format/36385/2 "2020-11-23T10:35:29Z")

</div>

If you told us which node then we could try it for ourselves.

---

<div class="post-metadata">

**Author:** ![Trying\_to\_learn](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/trying_to_learn/32/28400_2.png) [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Post date:** [23 November 2020 20:34 UTC](https://discourse.nodered.org/t/time-format-how-to-make-it-24-hour-format/36385/3 "2020-11-23T20:34:06Z")

</div>

(sorry)

`node-red-contrib-ui-time-scheduler`

There seems to be a disconnect with how the times are shown.

I'm using FireFox 83.0 (64-bit)

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [23 November 2020 21:14 UTC](https://discourse.nodered.org/t/time-format-how-to-make-it-24-hour-format/36385/4 "2020-11-23T21:14:24Z")

</div>

OK, at least your question makes sense now. What you see is down to the browser, as for how a particular browser chooses to show times I don't know. I think you will find that the format in this node is the same as in the time picker node.

---

<div class="post-metadata">

**Author:** ![Trying\_to\_learn](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/trying_to_learn/32/28400_2.png) [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Post date:** [23 November 2020 22:03 UTC](https://discourse.nodered.org/t/time-format-how-to-make-it-24-hour-format/36385/5 "2020-11-23T22:03:50Z")

</div>

Thanks Colin

I am (alas) worse than ever with my thinking just now. My main machine is down and 90+ % of my notes are on that machine.

The person who wrote the node said it is down to the browser.

I tried setting it as suggested and it made no change.  
But I also saw a "Use local settings" button and tried it too - to no avail.

Not a big deal if that is how it is.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [7 December 2020 22:03 UTC](https://discourse.nodered.org/t/time-format-how-to-make-it-24-hour-format/36385/6 "2020-12-07T22:03:53Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
