Can't get the month number using getMonth() in Column Expression Node

Hi everyone, I’m trying to get the month as a number from a date column in the Column Expression node as I need it for an operation, but if I use column(“postingDate”).getMonth() I get the month as the name of the month (i.e:JANUARY). I know I can get the number using first the node “Extract Date&Time Fields” but I’m trying to avoid creating an extra column just for that.

Thanks in Advance!

Dr. Google might be your friend :wink:

.getMonthValue()

3 Likes

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