In case you missed the announcement: The Alteryx One Fall Release is here! Learn more about the new features and capabilities here
Start Free Trial

Alteryx Designer Desktop Discussions

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

Format dates to YYYY_MO_DA

Khristian_Evans
8 - Asteroid

Hi, I need help with changing the format of my date outputs. 

7 REPLIES 7
binu_acs
21 - Polaris

@Khristian_Evans what is this format MO and DA?

Khristian_Evans
8 - Asteroid

Year , Month, Date 

 

2024 - 05 - 14 for today as an example

Khristian_Evans
8 - Asteroid

@binu_acs the format is currently 5/14/2024 and I want to change to 2024-05-14

binu_acs
21 - Polaris

@Khristian_Evans what is your input data format? Can you give a sample data?

binu_acs
21 - Polaris

@Khristian_Evans you can use the DateTimeFormat function to convert a date from the ISO format to any other format

image.png

Blockprogramming
6 - Meteoroid

Use the DateTime tool. Select the incoming field option of "MM/dd/yyyy".

 

Screenshot 2024-05-14 115849.jpg

binu_acs
21 - Polaris

@Khristian_Evans If your date is not ISO format (YYYY-MM-DD) then you need to use the DateTimeParse tool to change it into the Alteryx date format which is in YYYY-MM-DD

image.png

Labels
Top Solution Authors