Bring your best ideas to the AI Use Case Contest! Enter to win 40 hours of expert engineering support and bring your vision to life using the powerful combination of Alteryx + AI. Learn more now, or go straight to the submission form.
Start Free Trial

Alteryx Designer Desktop Discussions

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

Change the Date format

SurbhiMittal
7 - Meteor

Hi Team,

 

I have column named date in the following format i.e. 10-01-2023 (dd-mm-yyyy) as an input.

 

I want to create new column as "Period" in the output as Jan-23.(mmm-yy).

 

Please let me know the right formula to use for the same.

1 REPLY 1
ShankerV
17 - Castor

Hi @SurbhiMittal 

 

Please use

datetimeformat(datetimeparse([Field1],"%d-%m-%y"),"%b-%y")

 

ShankerV_0-1678356975978.png

 

Many thanks

Shanker V

Labels
Top Solution Authors