# Which node do I use to get the "Week number" (of the year)

**URL:** https://discourse.nodered.org/t/which-node-do-i-use-to-get-the-week-number-of-the-year/23391
**Category:** General
**Created:** [21 March 2020 05:00 UTC](https://discourse.nodered.org/t/which-node-do-i-use-to-get-the-week-number-of-the-year/23391 "2020-03-21T05:00:07Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![Trying\_to\_learn](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/trying_to_learn/32/28400_2.png) [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)
#### Post date: [21 March 2020 05:00 UTC](https://discourse.nodered.org/t/which-node-do-i-use-to-get-the-week-number-of-the-year/23391/1 "2020-03-21T05:00:07Z")

</div>

_Today's problem_:  
~~  
I need the week number.  
I'm sure I have seen it mentioned somewhere.  
Someone - please.  
 ~~

---

<div class="post-metadata">

### Author: ![Trying\_to\_learn](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/trying_to_learn/32/28400_2.png) [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)
#### Post date: [21 March 2020 05:04 UTC](https://discourse.nodered.org/t/which-node-do-i-use-to-get-the-week-number-of-the-year/23391/2 "2020-03-21T05:04:02Z")

</div>

Found it.

ww for week.

---

<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: [21 March 2020 12:57 UTC](https://discourse.nodered.org/t/which-node-do-i-use-to-get-the-week-number-of-the-year/23391/3 "2020-03-21T12:57:37Z")

</div>

For everyone else's sake, if you are using the moment node, there is a link in the help panel to MomentJS's documentation.

---

<div class="post-metadata">

### Author: ![Trying\_to\_learn](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/trying_to_learn/32/28400_2.png) [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)
#### Post date: [21 March 2020 22:09 UTC](https://discourse.nodered.org/t/which-node-do-i-use-to-get-the-week-number-of-the-year/23391/4 "2020-03-21T22:09:29Z")

</div>

Yeah, ok. Calm down.

I did post that I found the answer.

---

<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: [21 March 2020 22:17 UTC](https://discourse.nodered.org/t/which-node-do-i-use-to-get-the-week-number-of-the-year/23391/5 "2020-03-21T22:17:58Z")

</div>

I think that you misunderstood the tone of my response. All I was trying to do was add the explanation so that other people would know the answer in the future.

---

<div class="post-metadata">

### Author: ![Trying\_to\_learn](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/trying_to_learn/32/28400_2.png) [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)
#### Post date: [21 March 2020 22:26 UTC](https://discourse.nodered.org/t/which-node-do-i-use-to-get-the-week-number-of-the-year/23391/6 "2020-03-21T22:26:52Z")

</div>

> [@Trying\_to\_learn](#):
>
> Found it.
> 
> ww for week.

I thought that would have sufficed for explaining the answer.

(Kind of only just got up and turned on computer. _I_ still may not have completed boot sequence.)

---

<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: [21 March 2020 22:33 UTC](https://discourse.nodered.org/t/which-node-do-i-use-to-get-the-week-number-of-the-year/23391/7 "2020-03-21T22:33:39Z")

</div>

> [@Trying\_to\_learn](#):
>
> sufficed for explaining the answer.

not really - when your original question was "which node do I use..." and then your answer didn't say which node you used... all Julian did was add the name.

---

<div class="post-metadata">

### Author: ![Trying\_to\_learn](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/trying_to_learn/32/28400_2.png) [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)
#### Post date: [21 March 2020 22:35 UTC](https://discourse.nodered.org/t/which-node-do-i-use-to-get-the-week-number-of-the-year/23391/8 "2020-03-21T22:35:56Z")

</div>

Ok.

sorry

sorry

sorry.

(I am told I say that too much and when I try to not say it all I seem to do is make more mistakes and make a mess of things.)

It isn't I don't want to be wrong. It is just how I think. _Differently_ is one way of putting it.

---

<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: [4 April 2020 22:36 UTC](https://discourse.nodered.org/t/which-node-do-i-use-to-get-the-week-number-of-the-year/23391/9 "2020-04-04T22:36:02Z")

</div>

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