Date
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi Friends
I am running alteryx workflows based on the dates. I have a scenario, where I want 1st working day of next month. For example, if the current date is 01/04/2022 then I need 1st working day of next month as 02/01/2022. Date format is mm/dd/yyyy. Please help me to solve this issue.
- Labels:
- Workflow
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi @nkr306_nkrs
This is because the formula is using 'datetimefirstofmonth' which looks at the first day of the current date. I modified @atcodedog05 's workflow slightly to take a date coming in, and use it to figure out the first day of the next month, leveraging datetimetrim functions instead.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
It seems to be working but when I try with some random future date. It is failing. Can you please help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi Luke C
I tried the updated format but its failing.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
@nkr306_nkrs You'll need to be a bit more specific. What do you mean by failing? Send a screenshot. Are you passing a date into the formula (meaning alteryx date yyyy-mm-dd)? If not convert it first.
I tried a future date and it seems to work:

- « Previous
-
- 1
- 2
- Next »