Alteryx Designer Desktop Discussions

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

converting to dates

Inactive User
Not applicable

I am trying to convert dates of the format Jan 1, 2011 via the date time tool

msoe4142_1-1606377143911.png

 

 

 

However it is not working. Any reason as to why? It only gives Nulls.

10 REPLIES 10
grazitti_sapna
17 - Castor

Hi @Inactive User,

 

In the DateTime tool, you should give the format of the incoming data which in your case is "Mon dd,yyyy" . I see that in your configuration you have given something else.

Once you have given the format of incoming data which matches with your data the DateTime tool will convert it into Alteryx Date Format which is "yyyy-mm-dd" and thus the output would be 2011-01-01. you can also get the output in the format 01-01-2011 but that won't be a Date field but string field as alteryx only accepts "yyyy-mm-dd" as the date field.

 

grazitti_sapna_0-1606383710621.png

 

 

I hope it helps.

Sapna Gupta
Polls
We’re dying to get your help in determining what the new profile picture frame should be this Halloween. Cast your vote and help us haunt the Community with the best spooky character.
Don’t ghost us—pick your favorite now!
Labels