In case you missed the announcement: The Alteryx One Fall Release is here! Learn more about the new features and capabilities here
Start Free Trial

Alteryx Designer Desktop Discussions

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

Date column Formatting

Asad_Ali110
5 - Atom

Hi Guys,

 

I have a date column coming in as string format as shown below

 

13/12/202316,437,454
30-Sep-23301,519
2022-07-17 00:00:0012,242,586

 

in order to convert it, I am using the following formula:

 

"IF IsNull([PAYMENT_DATE]) THEN "" ELSE

IF Contains([PAYMENT_DATE], "/") THEN DateTimeParse([PAYMENT_DATE],'%d/%m/%Y') ELSE

DateTimeParse([PAYMENT_DATE],'%Y-%m-%d') ENDIF ENDIF

"

I know I am missing the bit for the date shown as "DD-MMM-YY", appreciate your help in correcting this formula.

1 REPLY 1
binu_acs
21 - Polaris

@Asad_Ali110 one way of doing this

image.png

Labels
Top Solution Authors