Community Halloween is live until October 31st! Complete any 2 quick activities to earn the 2025 Community Halloween badge. Feeling brave? Check out the activities here
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