In case you missed the announcement: The Alteryx One Fall Release is here! Learn more about the new features and capabilities here
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.
SOLVED

How can I add 1 day with date diff

Kinetic_analytics
11 - Bolide

Hello:

This is the formula I have used. 

 

DateTimeDiff([Today],[Task Created Date],'days')

 

I want to add (+1) day with the date diff. I am getting Null Output. How can I fix it?

 

Thanks

5 REPLIES 5
JoeS
Alteryx Alumni (Retired)

Sorry, when you say add one day, do you mean work out the difference and then make the number 1 day higher?

 

If so that would be: DateTimeDiff([Today],[Task Created Date],'days') + 1

 

Or did you mean that you wanted to add one day onto a date?

 

If so that would be: DateTimeAdd([Task Created Date],1,"days")

 

Thanks

Joe

 

 

binu_acs
21 - Polaris

@Kinetic_analytics DateTimeDiff(DateTimeNow(),[Task Created Date],"days") + 1

 

Spoiler
binuacs_0-1640267261984.png

 

Kinetic_analytics
11 - Bolide

Thank you. Brilliant. Appreciate your support in my learning process, Joe. Have a great day! 

Kinetic_analytics
11 - Bolide

Thank you. Appreciate your help. 

JoeS
Alteryx Alumni (Retired)

@Kinetic_analytics  You're welcome.

 

Nice addition @binu_acs keeping today's date as part of the expression 😀

Labels
Top Solution Authors