Important Community update: The process for changing your account details was updated on June 25th. Learn how this impacts your Community experience and the actions we suggest you take to secure your account here.

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
7 - Meteor

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

7 REPLIES 7
binuacs
20 - Arcturus

@Khristian_Evans what is this format MO and DA?

Khristian_Evans
7 - Meteor

Year , Month, Date 

 

2024 - 05 - 14 for today as an example

Khristian_Evans
7 - Meteor

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

binuacs
20 - Arcturus

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

binuacs
20 - Arcturus

@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

binuacs
20 - Arcturus

@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