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

Date conversion

EvansM
9 - Comet

Hello,

 

How do I convert  from YYMMDD to YY/MM/DD

 

190505    19/05/05

071218     07/12/18

200215     20/02/15

100205     10/02/05

 

Thanks

3 REPLIES 3
JosephSerpis
17 - Castor
17 - Castor

Hi @EvansM I mocked up a workflow that acheives your desired output. You need to perform a datatime parse of your orginal date time format into the only format Alteryx reconise as date YYYY-MM-DD then perform a datatime format formula to match your desired format which would result in a string field. The added complication was trying to perfrom a straight datetime parse of your data orginal format was, it was throwing errors hence why I build out the date into YY-MM-DD before I parse the date. This link provides more detail around date time functions in Alteryx.

Emmanuel_G
13 - Pulsar

@EvansM 

 

Find in attachement the way of doing that.

 

Let me know if there is any issue and please, do not hesitate to mark this answer as solution if it helped.

 

Bonus : I also parsed your data in correct date format in additional field. 😉

 

Emmanuel_G_0-1664308647856.png

 

binu_acs
21 - Polaris

@EvansM One way of doing this

binuacs_0-1664308678259.png

 

Labels
Top Solution Authors