Free Trial

Alteryx Designer Desktop Discussions

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

separate the date field into multiple column

Khaled_Eid
6 - Meteoroid

hi

I am khaled and I am new to working with Alteryx

 

how I can split the date field like This

 

2006-04-01 00:00:00.000 +0200

 

into three columns

 

I tried The text to columns tool to separate it and I filled the delimiter with space but it doesn't work

12 REPLIES 12
MilindG
12 - Quasar

MilindG_0-1682431866150.png

 

DavidSkaife
13 - Pulsar

Hi @Khaled_Eid 

 

Use \s as your delimter and that should work for you

Khaled_Eid
6 - Meteoroid

I also try it but it don't work

Khaled_Eid
6 - Meteoroid

should i convert it's type to date?

DavidSkaife
13 - Pulsar

Hi @Khaled_Eid 

 

Apologies i had the slash the wrong way round (have updated original post) - if you use \s it should work. Doesn't matter what the data type is.

 

DavidSkaife_0-1682432497066.png

 

MilindG
12 - Quasar

That shouldve worked. If its a date format, you can use regex as well '(.*)\s(.*)\s(.*)'

Khaled_Eid
6 - Meteoroid

i realy don't know why it does not work.

Khaled_Eid
6 - Meteoroid

Screenshot 2023-04-25 162549.png

DavidSkaife
13 - Pulsar

Can you share a set of your data, even just the formatted date field?

Labels
Top Solution Authors