In case you missed the announcement: The Alteryx One Fall Release is here! Learn more about the new features and capabilities here
ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests after December 31, 2025. Set up your security questions now so you can recover your account anytime, just log out and back in to get started. Learn more 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