Alteryx Designer Desktop Discussions

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

How to find prior day

Rob_schneider
7 - Meteor

Is there a way to Find the day prior to today using DATETIMENOW() ?

1 REPLY 1
patrick_digan
17 - Castor
17 - Castor

@Rob_schneider You can try this one in a formula tool:

 

DateTimeAdd(DateTimeNow(),-1,"days")

If you save the field as a Date, it would be something like "2017-05-09". If you save the field as a datetime, it would have the current time added as well.

Labels