Alteryx Designer Desktop Discussions

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

Converting string to Date and time

praneshsapmm
8 - Asteroid

Hi,

 

I have multiple string fields of date & time . How can i convert them date and time format without using date time parse for each fields . 

 

I tried to use multi field but does not work . 

 

Date fields : 20220101

Timefields : 080101

 

Thankyou .

3 REPLIES 3
Luke_C
17 - Castor

Hi @praneshsapmm Can you share a sample of the data? Typically you'd want to transpose the data and do the date conversion once, then crosstab back.

oly
Alteryx Alumni (Retired)

Hi @praneshsapmm ,

 

see attachement here with a dummy Substring function, hope it helps! DateTimeParse function works great too and I did a small mock up for you.

 

oly_0-1658516246079.png

Good luck,

Oly

Emmanuel_G
13 - Pulsar

Hi @praneshsapmm ,

 

Do you want something like this ?

Emmanuel_G_0-1658520668899.png

 

Labels