# Formating current date / time in multiple format with multiple output and simple calculation

**URL:** <https://discourse.nodered.org/t/formating-current-date-time-in-multiple-format-with-multiple-output-and-simple-calculation/91149>\
**Category:** Share Your Nodes\
**Created:** [20 September 2024 17:18 UTC](https://discourse.nodered.org/t/formating-current-date-time-in-multiple-format-with-multiple-output-and-simple-calculation/91149 "2024-09-20T17:18:19Z")\
**Posts on this page:** 1\
**Showing post:** 26

<div class="post-metadata">

**Author:** ![bakman2](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bakman2/32/6207_2.png) [@bakman2](https://discourse.nodered.org/u/bakman2)\
**Post date:** [23 September 2025 04:15 UTC](https://discourse.nodered.org/t/formating-current-date-time-in-multiple-format-with-multiple-output-and-simple-calculation/91149/26 "2025-09-23T04:15:59Z")

</div>

> [@rakgupta](#):
>
> Any chance there could be something similar for ui-template?

You can include the cdn version of dayjs in a ui-template node as well. (or serve it up via http-in/out to have it available 'locally')

> There is a basic walk-through in the documentation

Side note, did you ever consider putting the documentation through AI to make it simple and to the point, ELI5 ? People don't have/take time to read pages and pages full of notes, tips, pitfalls of css, javascript, ecma standards etc. (ie. how relevant is it), it makes it all very confusing.

---

_[View the full topic](https://discourse.nodered.org/t/formating-current-date-time-in-multiple-format-with-multiple-output-and-simple-calculation/91149)._
