We are celebrating the 10-year anniversary of the Alteryx Community! Learn more and join in on the fun here.
Start Free Trial

Alteryx Designer Desktop Discussions

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

changing date format when saving to .csv

Kavya132017
8 - Asteroid

I want my date to be in "YYYY/MM/DD" format. In the alteryx, I am converting the field to string(yyyy-mm-dd) using date parse and then replacing '-'  with '/'.Even though it is in string format, when i open the output file, it automatically changes to it's own format. How do i avoid it. 

3 REPLIES 3
binuacs
21 - Polaris

@Kavya132017 Can you try with DateTimeFormat([Date],'%Y/%m%d')

Kavya132017
8 - Asteroid

@binuacs , when i open the output .csv file it is automatically showing date as per my system's date format

binuacs
21 - Polaris

@Kavya132017 If you try to open the .csv file in a notepad you will see the original format.

Labels
Top Solution Authors