# \[node-red-contrib-simpletime\]mydate

**URL:** <https://discourse.nodered.org/t/node-red-contrib-simpletime-mydate/2900>\
**Category:** General\
**Created:** [6 September 2018 07:32 UTC](https://discourse.nodered.org/t/node-red-contrib-simpletime-mydate/2900 "2018-09-06T07:32:37Z")\
**Posts on this page:** 16\
**Page:** 2

<div class="post-metadata">

**Author:** ![cymplecy](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/cymplecy/32/2773_2.png) [@cymplecy](https://discourse.nodered.org/u/cymplecy)\
**Post date:** [7 September 2018 07:59 UTC](https://discourse.nodered.org/t/node-red-contrib-simpletime-mydate/2900/21 "2018-09-07T07:59:52Z")

</div>

I've nearly come full circle on this

simpletime should be simpletime 🙂

90% of my use is as an inline timestamper where I use it to work out time difference between two messages.

Going to any sort of complication just so that the date looks a bit nicer to my eyes isn't worth it if means it looks worse for others 🙂

So I formally cancel my request

But if you fancy adding in these four - it would make it easier to make up a UK format if really needed 🙂  
mymonth as mmm (or even full name?????)  
myday as ddd (or even full name????)  
mydom (day of month) [d]d (no leading zero)  
myyear yyyyy

---

<div class="post-metadata">

**Author:** ![Paul-Reed](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/paul-reed/32/66906_2.png) [@Paul-Reed](https://discourse.nodered.org/u/Paul-Reed)\
**Post date:** [7 September 2018 21:08 UTC](https://discourse.nodered.org/t/node-red-contrib-simpletime-mydate/2900/22 "2018-09-07T21:08:12Z")

</div>

I'll try and have a look over the weekend, and repost.

Paul

---

<div class="post-metadata">

**Author:** ![Paul-Reed](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/paul-reed/32/66906_2.png) [@Paul-Reed](https://discourse.nodered.org/u/Paul-Reed)\
**Post date:** [11 September 2018 19:59 UTC](https://discourse.nodered.org/t/node-red-contrib-simpletime-mydate/2900/23 "2018-09-11T19:59:27Z")

</div>

I've just added;

- mymonth
- myday
- mydom
- myyear

...and updated the node on npm to v2.2.0, ~~which will be updated shortly in the node-RED palette manager.~~

Thanks for the feedback.

Paul

---

<div class="post-metadata">

**Author:** ![cymplecy](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/cymplecy/32/2773_2.png) [@cymplecy](https://discourse.nodered.org/u/cymplecy)\
**Post date:** [11 September 2018 21:26 UTC](https://discourse.nodered.org/t/node-red-contrib-simpletime-mydate/2900/24 "2018-09-11T21:26:28Z")

</div>

Thank you very much 🙂

here is my JSONata code in case anyone wants my original request format

`myday & " " & mydom & " " & mymonth & " "& myyear & " " & mytime`

Gives  
Tue 11 Sep 2018 22:26

---

<div class="post-metadata">

**Author:** ![cymplecy](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/cymplecy/32/2773_2.png) [@cymplecy](https://discourse.nodered.org/u/cymplecy)\
**Post date:** [11 September 2018 21:30 UTC](https://discourse.nodered.org/t/node-red-contrib-simpletime-mydate/2900/25 "2018-09-11T21:30:22Z")

</div>

> [@Paul-Reed](#):
>
> I've just added;
> 
> - mymonth
> - myday
> - mydom
> - myyear

If you haven't already started - could I offer to update the node info for you?

Simon

---

<div class="post-metadata">

**Author:** ![Paul-Reed](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/paul-reed/32/66906_2.png) [@Paul-Reed](https://discourse.nodered.org/u/Paul-Reed)\
**Post date:** [11 September 2018 21:36 UTC](https://discourse.nodered.org/t/node-red-contrib-simpletime-mydate/2900/26 "2018-09-11T21:36:44Z")

</div>

> [@cymplecy](#):
>
> If you haven't already started - could I offer to update the node info for you?

I thought that I had already done that 🤔

What did you have in mind?

> <https://github.com/Paul-Reed/node-red-contrib-simpletime/commit/7ec6f04b59ef4ec5422877a8048dc1708f9ec8ae>
>
> As discussed https://discourse.nodered.org/t/node-red-contrib-simpletime-mydate/…2900/20

---

<div class="post-metadata">

**Author:** ![cymplecy](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/cymplecy/32/2773_2.png) [@cymplecy](https://discourse.nodered.org/u/cymplecy)\
**Post date:** [11 September 2018 21:40 UTC](https://discourse.nodered.org/t/node-red-contrib-simpletime-mydate/2900/27 "2018-09-11T21:40:06Z")

</div>

Its not made it into the editor on mine (but I can use the new things) #Confused

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/2X/a/a9058b4daa6a7cba647b5f80a5bf5d2789d8ee50.png)

---

<div class="post-metadata">

**Author:** ![cymplecy](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/cymplecy/32/2773_2.png) [@cymplecy](https://discourse.nodered.org/u/cymplecy)\
**Post date:** [11 September 2018 21:44 UTC](https://discourse.nodered.org/t/node-red-contrib-simpletime-mydate/2900/28 "2018-09-11T21:44:38Z")

</div>

Just tried a shift-F5 and dragged a new instance out but made no diff #StillConfused

---

<div class="post-metadata">

**Author:** ![cymplecy](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/cymplecy/32/2773_2.png) [@cymplecy](https://discourse.nodered.org/u/cymplecy)\
**Post date:** [11 September 2018 21:47 UTC](https://discourse.nodered.org/t/node-red-contrib-simpletime-mydate/2900/29 "2018-09-11T21:47:50Z")

</div>

Its not in my html file

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

but JS looks ok

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/2X/9/9c80536a6922e3ee0c492e12a36da00940fe52c2.png)

---

<div class="post-metadata">

**Author:** ![cymplecy](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/cymplecy/32/2773_2.png) [@cymplecy](https://discourse.nodered.org/u/cymplecy)\
**Post date:** [11 September 2018 22:45 UTC](https://discourse.nodered.org/t/node-red-contrib-simpletime-mydate/2900/30 "2018-09-11T22:45:25Z")

</div>

> [@Paul-Reed](#):
>
> I've just added;
> 
> - mymonth
> - myday
> - mydom
> - myyear

We seem to have lost

mydate

which has broken my existing flows

---

<div class="post-metadata">

**Author:** ![Paul-Reed](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/paul-reed/32/66906_2.png) [@Paul-Reed](https://discourse.nodered.org/u/Paul-Reed)\
**Post date:** [12 September 2018 08:42 UTC](https://discourse.nodered.org/t/node-red-contrib-simpletime-mydate/2900/31 "2018-09-12T08:42:22Z")

</div>

Oops, sorry.  
I'll fix it later today.

---

<div class="post-metadata">

**Author:** ![cymplecy](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/cymplecy/32/2773_2.png) [@cymplecy](https://discourse.nodered.org/u/cymplecy)\
**Post date:** [12 September 2018 09:09 UTC](https://discourse.nodered.org/t/node-red-contrib-simpletime-mydate/2900/32 "2018-09-12T09:09:04Z")

</div>

I should have included ALL nodes on my September refrain list 🙂

---

<div class="post-metadata">

**Author:** ![Paul-Reed](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/paul-reed/32/66906_2.png) [@Paul-Reed](https://discourse.nodered.org/u/Paul-Reed)\
**Post date:** [12 September 2018 09:33 UTC](https://discourse.nodered.org/t/node-red-contrib-simpletime-mydate/2900/33 "2018-09-12T09:33:35Z")

</div>

Yes, it's all your fault!!

Fix now committed to npm, the NR node library should update shortly...

---

<div class="post-metadata">

**Author:** ![cymplecy](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/cymplecy/32/2773_2.png) [@cymplecy](https://discourse.nodered.org/u/cymplecy)\
**Post date:** [12 September 2018 11:08 UTC](https://discourse.nodered.org/t/node-red-contrib-simpletime-mydate/2900/34 "2018-09-12T11:08:59Z")

</div>

Thanks - its back 🙂  
The node info in the editor is STILL not updated though

I wonder if some bug how npm is getting updated???

---

<div class="post-metadata">

**Author:** ![Paul-Reed](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/paul-reed/32/66906_2.png) [@Paul-Reed](https://discourse.nodered.org/u/Paul-Reed)\
**Post date:** [12 September 2018 11:29 UTC](https://discourse.nodered.org/t/node-red-contrib-simpletime-mydate/2900/35 "2018-09-12T11:29:56Z")

</div>

~~Any thoughts why the readme is not being synced in the NR palette with NPM?~~

My bad - I forgot to update the .html file!  
Now updated 😃

---

<div class="post-metadata">

**Author:** ![cymplecy](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/cymplecy/32/2773_2.png) [@cymplecy](https://discourse.nodered.org/u/cymplecy)\
**Post date:** [12 September 2018 11:42 UTC](https://discourse.nodered.org/t/node-red-contrib-simpletime-mydate/2900/36 "2018-09-12T11:42:50Z")

</div>

> [@Paul-Reed](#):
>
> any thoughts why the readme is not being synced in the NR palette with NPM?

Is it NR not syncing with NPM or is it NPM not syncing with Github?

[Previous page](https://discourse.nodered.org/t/node-red-contrib-simpletime-mydate/2900.md?page=1)
