Free Trial

Alteryx Connect Discussions

Find answers, ask questions, and share expertise about Alteryx Connect.

Date Format from Number to DD/MM/YYYY

Faithful
5 - Atom

Hello,

 

Please help me to change date format from number "44585" to dd/mm/yyyy. In the raw excel file, it was originally dd/mm/yyyy however alteryx changed it to number. 

 

Please see attached workflow and screenshot.

 

Faithful_0-1675185555054.png

 

1 REPLY 1
DataNath
17 - Castor
17 - Castor

Hey @Faithful, is this what you're expecting? ToDate() will bring the numeric representation into ISO format (YYYY-MM-DD, which is all Alteryx can work with). Therefore, we just use DateTimeFormat() to force it into our desired DD/MM/YYYY format. The only thing to note is that we have to keep this stored as a string. If you want to work with dates, you'll have to maintain the ISO date format mentioned above.

 

DataNath_0-1675188109939.png