Bring your best ideas to the AI Use Case Contest! Enter to win 40 hours of expert engineering support and bring your vision to life using the powerful combination of Alteryx + AI. Learn more now, or go straight to the submission form.
Start Free Trial

Alteryx Designer Desktop Discussions

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

Please help convert date

htalteryx
8 - Asteroid

Can you please use a formula tool to convert the text string to a date?  You will know the problem is solved by using Excel to filter the Output column and see:

2023

      January

             1

 

instead of:

1/1/23

  

 

Input (text)Output (should be date, not string)  
1/1/2023 12:00:00 AM1/1/23  
    
    

 

Thank you!

2 REPLIES 2
Felipe_Ribeir0
16 - Nebula

Hi @htalteryx 

 

One way of doing this

datetimeparse([Input], '%d/%m/%Y')

 

Felipe_Ribeir0_1-1673461425956.png

 

 

dYoast
11 - Bolide

@htalteryx ,

 

If you are expecting to see the date as 2023-01-01 in Excel, you would need to change the regional format data of your computer or format the cell to display as expected.

Excel appears to format a cell with a date as a Short date - 1/1/2023.

 

You can change it in Alteryx as @Felipe_Ribeir0  suggested, but it will not display the same in Excel.

Labels
Top Solution Authors