cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Workflow Hero

Get day of the week from Date in NWC?

Jump to solution

I'd like to be able to determine the day of the week from a date in NWC. Is this possible?

The Format date to string action doesn't offer ddd. 

Is it possible to use options listed here: Date and Time Format Strings - Quick Reference Guide I have no where to use a "fn-FormatDate" in NWC.

Thanks. 

Labels: (1)
0 Kudos
Reply
5 Replies
Workflow Hero

Re: Get day of the week from Date in NWC?

Jump to solution

This community needs more contributors.   

0 Kudos
Reply
Workflow Hero

Re: Get day of the week from Date in NWC?

Jump to solution

Joshua Tan‌ any thoughts on this one? Unsure who else I can tag here. Bingham Blalock‌??

0 Kudos
Reply
Workflow Hero

Re: Get day of the week from Date in NWC?

Jump to solution

Hey Rhia Wieclawek‌, we've seen this request on Uservoice and added it to our backlog.

0 Kudos
Reply
Workflow Hero

Re: Get day of the week from Date in NWC?

Jump to solution

Hi Michael, 

If you have the ability to add Xtensions in your NWC tenant, I built an Xtension that will get you the day of the week from the Date value you pass through. I have the Xtenstion available here: xtensions/dayWithDate.json at master · slfiene/xtensions · GitHub 

Pass the date value through 'Body Date', the Language (which I only have 'en-US' working), and store the result in a string variable to use later in the workflow.

Thank you,

Sean

0 Kudos
Reply
Workflow Hero

Re: Get day of the week from Date in NWC?

Jump to solution

Just tested this, and it works great. Thank you! 

Log to instance details

I appreciate it.  

Reply