Alteryx Designer Desktop Discussions

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

How to get the correct date format?

wendyzjy
8 - Asteroid

hi Experts,

would like to ask a question on the data format:

if i want to change the end date format from 2022-11-01 to 2 months earlier(supposed to be 2022-09-01, how can i change this formula below?

wendyzjy_0-1682065278506.png

 

3 REPLIES 3
ShankerV
17 - Castor

Hi @wendyzjy 

 

Please use the below.

 

DateTimeAdd([End Date],-2,"Months")

 

ShankerV_0-1682065543859.png

ShankerV_1-1682065558784.png

 

Many thanks

Shanker V

ShankerV
17 - Castor

Hi @wendyzjy 

 

If you need to update the same existing column then select the same column name as highlighted below.

 

ShankerV_0-1682065747049.png

 

ShankerV_1-1682065764464.png

 

Many thanks

Shanker V

wendyzjy
8 - Asteroid

Awesome! Thank you!

Labels