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 Early 2026. Make sure to check your account preferences in my.alteryx.com to make sure you have filled out your security questions. 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

Converting 28-Jun-2019 String to Date field

AboutBlank
6 - Meteoroid

Hello All,

 

As per the title I am trying to convert the date flowing through my excel sheet as string in Alteryx into Date so I can sort from Newest to Oldest.

 

I get the following error when trying to use the DatTimeParse Formula on a string field presented as:  28-Jun-2019

 

 

Formula (105) DATETIMEPARSE: Cannot convert "28-Jun-2019" to a date/time with format "%d %b %Y": Invalid month: '-Jun-2019' -- expected at least three letters

 

All help would be much appreciated.

 

Thank you!

2 REPLIES 2
acastelazo
8 - Asteroid

If you use dd-Mon-yy format, it seems to work...

Capture.JPG

AboutBlank
6 - Meteoroid

Absolutely spot on - thank you so much,

Labels
Top Solution Authors