ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests Early 2026. Make sure to check your account preferences in my.alteryx.com to make sure you have filled out your security questions. Learn more here
Start Free Trial

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.

Current date minus one business day

Saravanan13
8 - Asteroid

Hello All,

 

I need a formula to derive previous business date  from current date. Can anyone assist.

 

Example -

 

Input

Today's date - 08/21/2023

 

Output -

Previous business date - 08/18/2023

4 REPLIES 4
Prometheus
12 - Quasar
PhilipMannering
16 - Nebula
16 - Nebula

This should get you what you need,

image.png
PhilipMannering
16 - Nebula
16 - Nebula

FYI, if you're input comes in as a static string then you can use,

DateTimeParse([Input_Field], '%m/%d/%Y')

To first convert it to a date. See attached 

Saravanan13
8 - Asteroid

Hello Prometheus,

 

Thanks for the reply, But I don't need business dates with in a date range it would be always current date minus one day which should be business date.

 

Labels
Top Solution Authors