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

Convert Date from yyyy-MM-dd to yyMMdd

mzlee
7 - Meteor

Hi, I am trying to convert the date from 2023-08-17 to 230817, when I try parsing using DateTime I get a Null output error. 

 

thanks!

 

2 REPLIES 2
ShankerV
17 - Castor

Hi @mzlee 

 

Please use the below formula.

 

DateTimeFormat([Column name],"%y%m%d")

 

Screenshot 2023-08-18 011515.jpg

Note: The resultant column should be anything other than Date datatype. 

alexnajm
19 - Altair
19 - Altair

Can you share your configuration? The DateTime tool works well - otherwise I might use a Formula and do DateTimeFormat([Date],"%y%m%d")

Labels
Top Solution Authors