Join the Alteryx Community’s Maveryx Summer Cup event! Compete, network with others, and earn your gold through a series of challenges from July 24th to August 11th. Learn more about the event here.

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

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