# Time Picker 24-hrs format

**URL:** <https://discourse.nodered.org/t/time-picker-24-hrs-format/29787>\
**Category:** General\
**Created:** [9 July 2020 13:03 UTC](https://discourse.nodered.org/t/time-picker-24-hrs-format/29787 "2020-07-09T13:03:34Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![farcry](https://avatars.discourse-cdn.com/v4/letter/f/9de053/32.png) [@farcry](https://discourse.nodered.org/u/farcry)\
**Post date:** [9 July 2020 13:03 UTC](https://discourse.nodered.org/t/time-picker-24-hrs-format/29787/1 "2020-07-09T13:03:34Z")

</div>

Hello.  
I'm dealing with MySQL queries and I'm having troubles using TimePicker.  
For time to select I'm using "ui\_text\_input" in "Time Picker" mode.  
The problem is:

- I can't force the 24 hours input format
- The value of Node include date value. (Problem with store / restore value)  
Is there some "simple" Time picker in HH:MM format (23:59) 24-hrs?

Thanks.

---

<div class="post-metadata">

**Author:** ![zenofmud](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/zenofmud/32/316_2.png) [@zenofmud](https://discourse.nodered.org/u/zenofmud)\
**Post date:** [9 July 2020 15:53 UTC](https://discourse.nodered.org/t/time-picker-24-hrs-format/29787/2 "2020-07-09T15:53:33Z")

</div>

As per the info tab for the node:

> The time input type returns a number of milliseconds from midnight.

if you enter 00:01 it returns 60000  
if you enter 23:59 it returns 86340000

What is the format you need it changed to?

---

<div class="post-metadata">

**Author:** ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)\
**Post date:** [9 July 2020 16:26 UTC](https://discourse.nodered.org/t/time-picker-24-hrs-format/29787/3 "2020-07-09T16:26:26Z")

</div>

the text input in time mode is just using the html5 input rendering of your browser - so it picks up the format from your browser locale.

---

<div class="post-metadata">

**Author:** ![farcry](https://avatars.discourse-cdn.com/v4/letter/f/9de053/32.png) [@farcry](https://discourse.nodered.org/u/farcry)\
**Post date:** [13 July 2020 12:14 UTC](https://discourse.nodered.org/t/time-picker-24-hrs-format/29787/4 "2020-07-13T12:14:03Z")

</div>

Thanks for answers but the question remains:

- I can't force the 24 hours input format (depends on web browser)  
Is there some "simple" Time picker in HH:MM format (23:59) 24-hrs?

---

<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:** [11 September 2020 12:14 UTC](https://discourse.nodered.org/t/time-picker-24-hrs-format/29787/5 "2020-09-11T12:14:10Z")

</div>

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