The Alteryx Community is a finalist in three 2026 CMX Awards! Help us win Customer Support Community, Most Engaged Community, and User Group Program of the Year - vote now! (it only takes about 2 minutes) before January 9.
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.
RÉSOLU

separate the date field into multiple column

Khaled_Eid
Météoroïde

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 RÉPONSES 12
MilindG
Quasar

MilindG_0-1682431866150.png

 

davidskaife
Magnétar

Hi @Khaled_Eid 

 

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

Khaled_Eid
Météoroïde

I also try it but it don't work

Khaled_Eid
Météoroïde

should i convert it's type to date?

davidskaife
Magnétar

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
Quasar

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

Khaled_Eid
Météoroïde

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

Khaled_Eid
Météoroïde

Screenshot 2023-04-25 162549.png

davidskaife
Magnétar

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

Étiquettes
Auteurs des meilleures solutions