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 after December 31, 2025. Set up your security questions now so you can recover your account anytime, just log out and back in to get started. 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

Creating new column as Month (MMM) from date

Adam_B
8 - Asteroid

Hello, 

 

I have a date set, 01/01/2023 that I want to add a new column to output the Month name, so in the example I would like JAN as the output.  

Adam_B_0-1682976027126.png

I tried this formula, 

DateTimeFormat([APH REQ Action Date],"%B")

 

However, the output is all NULLs. 

 

Any help would be appreciated. 

 

Thanks, 

Adam 

2 REPLIES 2
ShankerV
17 - Castor

Hi @Adam_B 

 

One way of doing this.

 

DateTimeFormat(DateTimeParse([Field1],"%m/%d/%y"),"%b")

 

Note: The formula you have used was right but however the datetime formula will produce successful results if the date is in ISO format YYYY-MM-DD

Hence used datetime parse to convert to ISO format and then applied your formula.

 

ShankerV_0-1682976445068.png

 

ShankerV_1-1682976454766.png

 

ShankerV_2-1682976472677.png

 

Many thanks

Shanker V

 

 

 

Adam_B
8 - Asteroid

@ShankerV That worked, thank you!

Labels
Top Solution Authors