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.
解決済み

Converting 28-Jun-2019 String to Date field

AboutBlank
メテオロイド

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件の返信2
acastelazo
アステロイド

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

Capture.JPG

AboutBlank
メテオロイド

Absolutely spot on - thank you so much,

ラベル
トップのソリューション投稿者