Alteryx Designer Desktop Discussions

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

Formula that equals today's date plus 1

Khristian_Evans
8 - Asteroid

Formula 

 

Today's date 2/20/2025 

 

Output 2/21/2025

6 REPLIES 6
binuacs
21 - Polaris

@Khristian_Evans I assume your date is in the format of mm/dd/yyyy

DateTimeFormat(DateTimeAdd(DateTimeParse([Date],'%m/%d/%Y'),1,'day'),'%m/%d/%Y')

image.png

Khristian_Evans
8 - Asteroid

yyyymmdd

Khristian_Evans
8 - Asteroid

yyyymmdd format 

 

add a day to the date of when workflow is ran 

 

so if today (20250220) 

output should be 20250221

binuacs
21 - Polaris

@Khristian_Evans 

DateTimeFormat(DateTimeAdd(DateTimePArse(ToString([Date]),'%Y%m%d'),1,'day'),'%Y%m%d')

image.png

Khristian_Evans
8 - Asteroid

Null return, can you help with this?

Yoshiro_Fujimori
15 - Aurora
15 - Aurora

You may try changing the data type to String rather than Date.

Date type only accepts strings formated as YYYY-MM-DD.

Labels
Top Solution Authors