Which is the easiest way to get the week day?

I'm stuck.

I have moment and simpletime.

Which node gives me the weekday name?

I've found msg.myday from simpletime. But can moment give me the weekday name?

I don't mind using simpletime, but how things are, it will need a bit more work.
Again, not a problem. Just asking.

Use dddd in Moment to get full name or ddd to get short name

1 Like

(I should have known that. (^&&^% C.R.A.F.T. disease!)

For anyone stumbling across this in the future and who doesn't want to use extra nodes (or JSONata since Moment is now built into that as well), should note that it is very simple to write a quick JavaScript function to do this. It is just a few lines of code.

1 Like

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