# Changing global variable inside the function node

**URL:** <https://discourse.nodered.org/t/changing-global-variable-inside-the-function-node/8757>\
**Category:** General\
**Created:** [8 March 2019 22:21 UTC](https://discourse.nodered.org/t/changing-global-variable-inside-the-function-node/8757 "2019-03-08T22:21:02Z")\
**Posts on this page:** 1\
**Showing post:** 50

<div class="post-metadata">

**Author:** ![Petr](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/petr/32/6413_2.png) [@Petr](https://discourse.nodered.org/u/Petr)\
**Post date:** [13 March 2019 15:14 UTC](https://discourse.nodered.org/t/changing-global-variable-inside-the-function-node/8757/50 "2019-03-13T15:14:52Z")

</div>

Maybe because `strftime` formating is not built in NR. But I am not an expert...  
Discussed here, for example: [Date/Time formatting](https://discourse.nodered.org/t/date-time-formatting/1138)

---

_[View the full topic](https://discourse.nodered.org/t/changing-global-variable-inside-the-function-node/8757)._
