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.

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
binu_acs
21 - Polaris

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

Kavya132017
8 - Asteroid

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

binu_acs
21 - Polaris

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

Labels
Top Solution Authors