Alteryx Designer Desktop Discussions

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

how to Convert string date to date?

jyothiki
7 - Meteor

Hi all,

 

How to convert string date April 23, 2019, to date 2019-04-23. I used Datetimparse and formula tool but I'm getting error. Appreciate your help.

4 REPLIES 4
TheOC
15 - Aurora
15 - Aurora

Hi @jyothiki 

find attached a workflow that achieves this with the datetime tool:

TheOC_0-1602791542181.png

 


Bulien
JosephSerpis
17 - Castor
17 - Castor

Hi @jyothiki I mocked up a workflow let me know what you think?

Kenda
16 - Nebula
16 - Nebula

Hi @jyothiki 

 

I would recommend creating a new date field with a Formula tool and using the following expression:

DateTimeParse([Field1],"%B %d, %Y")

 

I always have this webpage handy when working with dates.

 

Hope this helps!

 

 

 

Kenda_0-1602791562951.png

 

jyothiki
7 - Meteor

Thank you. I got it

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