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

Alteryx Designer Desktop Discussions

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

Date Format

SomuGS
8 - Asteroid

Hi,

 

I'm trying to get an output that has text and date (in mm/dd/yyyy format) in a column. I've used DateTimeFormat & DateTimeParse to format when there is date in source, but I'm not getting desired result for date, however the text output is coming in right.

 

Looking for experts advice!

 

Thank you!

Bharat S

 

7 REPLIES 7
Luke_C
17 - Castor
17 - Castor

Hi @SomuGS 

 

The date syntax is case sensitive. Try making the M and D lowercase. 

 

See more info here: DateTime Functions | Alteryx Help

RobertOdera
13 - Pulsar

Hi, @SomuGS 

 

Trying to understand.

Is it that you have a source column that has both String and Date formats in its field values?

SomuGS
8 - Asteroid

Hi @RobertOdera 

 

Yes, it had both values.

 

Thanks!

SomuGS
8 - Asteroid

Hi @Luke_C 

 

This worked, thank you!

RobertOdera
13 - Pulsar

Okay, got it.

 

Use ToString([Your Date Field]) to force all values to String and then make the updates @Luke_C  mentioned.

SomuGS
8 - Asteroid

Hi @RobertOdera 

 

Thanks for the suggestion, will try it as well.

 

Thanks,

Bharat S

RobertOdera
13 - Pulsar

You're most welcome @SomuGS 

Labels