Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.
Community is experiencing an influx of spam. As we work toward a solution, please use the 'Notify Moderator' option on the ellipsis menu to flag inappropriate posts.
Free Trial

Alteryx Designer Desktop Discussions

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

Converting String To Date

SamYX
7 - Meteor

I have a string as 2-January-2019 , how can i convert to date format as native DateTime tool doesn't help 

Or my apologies i can't solve it

 

Please advise  

6 REPLIES 6
MarqueeCrew
20 - Arcturus
20 - Arcturus

https://help.alteryx.com/current/designer/datetime-functions  

 

DateTimeParse([your field],"%d-%B-%Y")

 

i feel your pain!

 

 Cheers,

 

Mark

Alteryx ACE & Top Community Contributor

Chaos reigns within. Repent, reflect and restart. Order shall return.
Please Subscribe to my youTube channel.
LordNeilLord
15 - Aurora

Hey @SamYX 

 

DateTimeParse([Field1], "%d-%B-%Y")  is what you'll need.

 

You should also bookmark this page as it has everything you need to know about datetime functions in Alteryx: https://help.alteryx.com/10.1/Reference/DateTimeFunctions.htm

SamYX
7 - Meteor

Thanks a Lot...A lot to learn

SamYX
7 - Meteor

Thanks a lot...sure i will save the link as bookmark

aman_goyal
8 - Asteroid

aman_goyal_0-1592198890858.png

 

Henrytabares
7 - Meteor

Thanks for sharing! Absolutely useful! Regards. Henry

Labels
Top Solution Authors