In case you missed the announcement: The Alteryx One Fall Release is here! Learn more about the new features and capabilities here
ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests after December 31, 2025. Set up your security questions now so you can recover your account anytime, just log out and back in to get started. Learn more here
Start Free Trial

Alteryx Designer Desktop Discussions

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

Date conversion (format 24MAY2018)

Helenet
5 - Atom

Hi all, 

 

I have a string with dates in the format "24MAY2018" and want to convert it into a real date. Can someone help me with that? 

 

Thanks. 

 

/Helene

3 REPLIES 3
Thableaus
17 - Castor
17 - Castor

Hi @Helenet 

 

Check this documentation on how to parse dates with DateTimeFunctions.

https://help.alteryx.com/9.5/Reference/DateTimeFunctions.htm

 

You can use DateTimeParse function

 

DateTimeParse([Date], "%d%b%Y")

 

Cheers,

jdunkerley79
ACE Emeritus
ACE Emeritus

I suggest a formula tool with expression:

DateTimeParse([Input],"%d%b%Y")
BenMoss
ACE Emeritus
ACE Emeritus
You can use the datetimeparae tool and then use custom mode, I think the statement ddMMMyyyy would work in this instance but my syntax might be slightly off!

I'm sure someone will correct me quite quickly if I am!

Ben
Labels
Top Solution Authors