# Announce node-red-contrib-math

**URL:** <https://discourse.nodered.org/t/announce-node-red-contrib-math/5100>\
**Category:** Share Your Nodes\
**Created:** [21 November 2018 20:09 UTC](https://discourse.nodered.org/t/announce-node-red-contrib-math/5100 "2018-11-21T20:09:06Z")\
**Posts on this page:** 5\
**Page:** 3

<div class="post-metadata">

**Author:** ![robin](https://avatars.discourse-cdn.com/v4/letter/r/e5b9ba/32.png) [@robin](https://discourse.nodered.org/u/robin)\
**Post date:** [26 January 2019 16:29 UTC](https://discourse.nodered.org/t/announce-node-red-contrib-math/5100/41 "2019-01-26T16:29:23Z")

</div>

@BartButenaers  
Thank you so much for this node 🙂 just what i needed 😄

---

<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:** [27 January 2019 11:47 UTC](https://discourse.nodered.org/t/announce-node-red-contrib-math/5100/42 "2019-01-27T11:47:32Z")

</div>

> [@BartButenaers](#):
>
> > I also think that time arithmetic functions is an interesting area for extension or a separate node.  
> > E.g. adding `X minutes` or `Y hours` to a certain timestamp.
> 
> Hi Jan, haven't searched yet but I would 'expect' that something like that should be possible with other time-related nodes (like [node-red-contrib-simpletime](https://www.npmjs.com/package/node-red-contrib-simpletime), or [node-red-contrib-moment](https://www.npmjs.com/package/node-red-contrib-moment), or ...)?

Hi all, I'd always planned to add a date/time calculator node to moment. Of course, I'm always happy to receive pull requests 😉

As it stands, you can do a simple +/- adjustment to the input date/time using the moment node. That works well if you need to know the input date + 30 days or whatever.

Please let me know - in a new thread - if you would like to see other calculations available.

---

<div class="post-metadata">

**Author:** ![shrickus](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/shrickus/32/517_2.png) [@shrickus](https://discourse.nodered.org/u/shrickus)\
**Post date:** [28 January 2019 17:12 UTC](https://discourse.nodered.org/t/announce-node-red-contrib-math/5100/43 "2019-01-28T17:12:42Z")

</div>

And don't forget that there is already the `node-red-contrib-moment-humanizer` node to help interpret time spans from/to human-readable strings... e.g. "2 hours ago", "next week", etc.

---

<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:** [28 January 2019 20:18 UTC](https://discourse.nodered.org/t/announce-node-red-contrib-math/5100/44 "2019-01-28T20:18:47Z")

</div>

Actually, there is a humanizer node in node-red-contrib-moment as well - written by someone else but he contributed it to my node.

---

<div class="post-metadata">

**Author:** ![shrickus](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/shrickus/32/517_2.png) [@shrickus](https://discourse.nodered.org/u/shrickus)\
**Post date:** [28 January 2019 20:22 UTC](https://discourse.nodered.org/t/announce-node-red-contrib-math/5100/45 "2019-01-28T20:22:51Z")

</div>

Ah, yes, that is the one I was thinking about... the `humanizer` node inside your module, not a separate module.

[Previous page](https://discourse.nodered.org/t/announce-node-red-contrib-math/5100.md?page=2)
