Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
解決済み

Convert string YYYMMMDD to date with the same format YYYYMMDD

JosephOpenshaw
アトム

This is probably a simple thing, but I could use some help.

 

I have to convert string YYYMMMDD to date with the same format YYYYMMDD.

 

Any assistance is appreciated.

3件の返信3
JosephSerpis
17 - Castor
17 - Castor

Hi @JosephOpenshaw the only recognized data format in alteryx is YYYY-MM-DD. Any other format would be considered a string format in alteryx. The reason for this is that the date time functions only work with one format. I've attached a workflow which shows this.

ChrisTX
オーロラ

Use a formula tool with the DateTimeParse function

 

DateTimeParse([your date field],"%Y%m%d")

 

Here is a list of all functions: https://help.alteryx.com/current/Reference/Functions.htm

 

JosephOpenshaw
アトム

This did the trick. Thank you @joseph and @ChrisTX !

ラベル