# Is there any input date and time for node edit dialog?

**URL:** https://discourse.nodered.org/t/is-there-any-input-date-and-time-for-node-edit-dialog/61160
**Category:** Developing Nodes
**Created:** [12 April 2022 09:59 UTC](https://discourse.nodered.org/t/is-there-any-input-date-and-time-for-node-edit-dialog/61160 "2022-04-12T09:59:49Z")
**Posts on this page:** 14
**Page:** 1

<div class="post-metadata">

### Author: ![studiobox](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/studiobox/32/55766_2.png) [@studiobox](https://discourse.nodered.org/u/studiobox)
#### Post date: [12 April 2022 09:59 UTC](https://discourse.nodered.org/t/is-there-any-input-date-and-time-for-node-edit-dialog/61160/1 "2022-04-12T09:59:49Z")

</div>

Hi all,

Is there any input date and time for node edit dialog?

Moreover, can we use JQuery UI in node edit dialog?

🤔

Because HTML does not support all browser.

Thank you very much in advance

---

<div class="post-metadata">

### Author: ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)
#### Post date: [12 April 2022 10:28 UTC](https://discourse.nodered.org/t/is-there-any-input-date-and-time-for-node-edit-dialog/61160/2 "2022-04-12T10:28:40Z")

</div>

> [@studiobox](#):
>
> Is there any input date and time for node edit dialog?

There is not a node-red core date picker widget.

> [@studiobox](#):
>
> Moreover, can we use JQuery UI in node edit dialog?

Yes, the editor uses JQuery UI

![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/c/c/cc56b8cfc4a8e95dfe102c636a44481a1d3c581e.png)

---

<div class="post-metadata">

### Author: ![studiobox](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/studiobox/32/55766_2.png) [@studiobox](https://discourse.nodered.org/u/studiobox)
#### Post date: [12 April 2022 11:23 UTC](https://discourse.nodered.org/t/is-there-any-input-date-and-time-for-node-edit-dialog/61160/3 "2022-04-12T11:23:16Z")

</div>

Thank you very much 😊 👍

I can use directly JQuery UI datepicker (not include anything) in my created node.

---

<div class="post-metadata">

### Author: ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)
#### Post date: [12 April 2022 14:46 UTC](https://discourse.nodered.org/t/is-there-any-input-date-and-time-for-node-edit-dialog/61160/4 "2022-04-12T14:46:34Z")

</div>

Are the browser native components not sufficient? I believe all modern browsers have date and time input fields.

---

<div class="post-metadata">

### Author: ![studiobox](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/studiobox/32/55766_2.png) [@studiobox](https://discourse.nodered.org/u/studiobox)
#### Post date: [13 April 2022 15:00 UTC](https://discourse.nodered.org/t/is-there-any-input-date-and-time-for-node-edit-dialog/61160/5 "2022-04-13T15:00:31Z")

</div>

Thank you very much for your reply. 🙂

I have one more question. Does JQuery UI have 'Time Picker' widget? Because I separate 'Time' input from 'Date'.

I try to search about 'Time Picker' in JQuery UI. Some website tell, it has to use 'timepicker'. But I try to use in edit dialog, the error 'timepicker is not a function ...'. 🤔

Could you please advise me?

---

<div class="post-metadata">

### Author: ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)
#### Post date: [13 April 2022 19:21 UTC](https://discourse.nodered.org/t/is-there-any-input-date-and-time-for-node-edit-dialog/61160/6 "2022-04-13T19:21:59Z")

</div>

The website is quite clear: [Datepicker | jQuery UI](https://jqueryui.com/datepicker/)

No timepicker.

---

<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: [13 April 2022 21:34 UTC](https://discourse.nodered.org/t/is-there-any-input-date-and-time-for-node-edit-dialog/61160/7 "2022-04-13T21:34:21Z")

</div>

Would standard html5 input text box in time mode work ?

---

<div class="post-metadata">

### Author: ![studiobox](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/studiobox/32/55766_2.png) [@studiobox](https://discourse.nodered.org/u/studiobox)
#### Post date: [14 April 2022 04:18 UTC](https://discourse.nodered.org/t/is-there-any-input-date-and-time-for-node-edit-dialog/61160/8 "2022-04-14T04:18:14Z")

</div>

Thank you very much for your advise.

But old browser maybe not support html5. So now I use simple input and then using validate input time. 😊

---

<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: [14 April 2022 08:25 UTC](https://discourse.nodered.org/t/is-there-any-input-date-and-time-for-node-edit-dialog/61160/9 "2022-04-14T08:25:04Z")

</div>

Looks pretty well supported - apart from IE of course... (which is now past end of life.)

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/5/d/5ddca0d84178d007544d14be95bb4559509fecd7.png)

---

<div class="post-metadata">

### Author: ![knolleary](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/knolleary/32/3_2.png) [@knolleary](https://discourse.nodered.org/u/knolleary)
#### Post date: [14 April 2022 09:43 UTC](https://discourse.nodered.org/t/is-there-any-input-date-and-time-for-node-edit-dialog/61160/10 "2022-04-14T09:43:13Z")

</div>

> [@studiobox](#):
>
> But old browser maybe not support html5. So now I use simple input and then using validate input time

The Node-RED editor will not work in those older browsers.

---

<div class="post-metadata">

### Author: ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)
#### Post date: [14 April 2022 11:47 UTC](https://discourse.nodered.org/t/is-there-any-input-date-and-time-for-node-edit-dialog/61160/11 "2022-04-14T11:47:29Z")

</div>

You can always add a polyfill for older/rubbish browsers:

[https://www.google.com/search?q=polyfil+for+input+type%3Dtime](https://www.google.com/search?q=polyfil+for+input+type%3Dtime)

---

<div class="post-metadata">

### Author: ![studiobox](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/studiobox/32/55766_2.png) [@studiobox](https://discourse.nodered.org/u/studiobox)
#### Post date: [15 April 2022 08:43 UTC](https://discourse.nodered.org/t/is-there-any-input-date-and-time-for-node-edit-dialog/61160/12 "2022-04-15T08:43:53Z")

</div>

Thank you very much 😊

Ok. I will try to use HTML5 tag input time.

---

<div class="post-metadata">

### Author: ![studiobox](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/studiobox/32/55766_2.png) [@studiobox](https://discourse.nodered.org/u/studiobox)
#### Post date: [15 April 2022 08:45 UTC](https://discourse.nodered.org/t/is-there-any-input-date-and-time-for-node-edit-dialog/61160/13 "2022-04-15T08:45:20Z")

</div>

Thank you very much for your help. 😊 👍

I will try this.

---

<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: [29 April 2022 08:45 UTC](https://discourse.nodered.org/t/is-there-any-input-date-and-time-for-node-edit-dialog/61160/14 "2022-04-29T08:45:51Z")

</div>

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