# Time picker sets time in 1970

**URL:** <https://discourse.nodered.org/t/time-picker-sets-time-in-1970/29920>\
**Category:** Dashboard\
**Created:** [11 July 2020 21:23 UTC](https://discourse.nodered.org/t/time-picker-sets-time-in-1970/29920 "2020-07-11T21:23:46Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![kubqo](https://avatars.discourse-cdn.com/v4/letter/k/a88e57/32.png) [@kubqo](https://discourse.nodered.org/u/kubqo)\
**Post date:** [11 July 2020 21:23 UTC](https://discourse.nodered.org/t/time-picker-sets-time-in-1970/29920/1 "2020-07-11T21:23:46Z")

</div>

Hi!  
I am trying to use time picker, but it gives me almost random values from 1970 -1972.  
When I use other time nodes such as simpletime or moments, it gives me right values. Even when I use dashboard calendar, it shoves me the right year. Did anybody encountered something similar? I couldn't find anything like this on internet

```auto
{"payload":83700000,"socketid":"LGC04GnEIyUBj7gJAAAA","_msgid":"6d5d08e.a325ff8"}

```

this is what I've got after choosing 11:15 PM, 11.7.2020, which should be 1594498500000

---

<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:** [11 July 2020 21:38 UTC](https://discourse.nodered.org/t/time-picker-sets-time-in-1970/29920/2 "2020-07-11T21:38:52Z")

</div>

which time picker ? can you share an example flow ?

---

<div class="post-metadata">

**Author:** ![kubqo](https://avatars.discourse-cdn.com/v4/letter/k/a88e57/32.png) [@kubqo](https://discourse.nodered.org/u/kubqo)\
**Post date:** [11 July 2020 21:49 UTC](https://discourse.nodered.org/t/time-picker-sets-time-in-1970/29920/3 "2020-07-11T21:49:20Z")

</div>

First of all. Thanks for the answer.  
It is text input set as time picker.  
I found my problem. I didn't read the description properly. Output of this node gives milliseconds from midnight, not full epochtime. I couldn't figure that out.

---

<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:** [25 July 2020 21:49 UTC](https://discourse.nodered.org/t/time-picker-sets-time-in-1970/29920/4 "2020-07-25T21:49:23Z")

</div>

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