Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.
Free Trial

Alteryx Designer Desktop Discussions

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

Trying to change date format to "MM/DD/YYYY" but struggling...

joewils92
6 - Meteoroid

I've trying to use the parse tool to change the date format in MM/DD/YYYY as that's the only way my system will receive the input. I've tried from date format and string but neither seem to like it so appears i'm going wrong somewhere. I'm a bit of an alteryx noob so any help is massively appreciated!

 

Many thanks

5 REPLIES 5
Bren_Spill
12 - Quasar
12 - Quasar

@joewils92 - DateTimeFormat([Journal Date],"%m/%d/%Y")

 

Refer to this guide to understand the logic: DateTime Functions (alteryx.com)

Deano478
12 - Quasar

@joewils92 give this formula a try

DateTimeFormat(DateTimeParse([Journal Date],'%Y-%m-%d'),'%m/%d/%Y')
griffinwelsh
12 - Quasar

@joewils92I recommend using the datetimeformat function within a formula tool:

 

datetimeformat(ToDate([Journal Date]),"%m/%d/%Y")

 

See https://help.alteryx.com/current/en/designer/functions/datetime-functions.html## for other date time formatting help.

joewils92
6 - Meteoroid

Thanks so much all!

Ankur_BDO
7 - Meteor

The Dates provided in the Text Input tool are already in Date format. To change the format you can use the Formula tool as given in the screen shot or check out the attached file.Screenshot 2024-08-22 214120.png

Labels
Top Solution Authors