Get Inspire insights from former attendees in our AMA discussion thread on Inspire Buzz. ACEs and other community members are on call all week to answer!

Alteryx Designer Desktop Discussions

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

Convert "25/Oct/21 11:00 AM" to "25/10/21"

Silvia_Wu
5 - Atom

Hi!

 

I have the date format as "25/Oct/21 11:00 AM" as string. I want to convert it to "Date" as "25/10/21".

 

I tried DateTime to convert it, but it didn't work.

 

Any solutions?

 

Thank you in advance!

 

Kind regards,

 

Silvia

2 REPLIES 2
JosephSerpis
17 - Castor
17 - Castor

Hi@Silvia_Wu I mocked up a workflow using the formula Datetimeformat and the specifiers from this page you can change your date into a format you desire. However if you perform this transformation your Date field will need to be a string field because the only format Alteryx regonises as a Date format is YYYY-MM-DD. You can also use the datetime tool to try this transformation as well.

 

Datetimeformat_25102021.JPG

Silvia_Wu
5 - Atom

It works! Really appreciate your help!

Thank you!

Kind regards,

Silvia

Labels