Community Spring Cleaning week is here! Join your fellow Maveryx in digging through your old posts and marking comments on them as solved. Learn more here!

Alteryx Designer Desktop Discussions

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

Help Please -- STRING to DATE

SaadEnnassiri
5 - Atom

Hello all, 

I tried to pars this string using the Datetime tool but was not able to find the correct custom input format

 

2018-11-23T14:30:14.510Z 

Can you please help me with that. thx a lot for your support

3 REPLIES 3
marcusblackhill
12 - Quasar
12 - Quasar

Hi @SaadEnnassiri !

 

You can eliminate the letters with the data cleansing and with its not a problem to eliminate the information after the seconds, you can use a regex to replace by nothing and with the new layout you can put the pattern of yout date/time in the tool.

 

Here I mocked up a workflow to you look what Im saying.

 

I hope that help you

szade1
8 - Asteroid

Hi @SaadEnnassiri ,

 

Here's my approach:

Just removed the milliseconds part of the string and converted to datetime

szade1_0-1596031435839.png

 

hope it helps!

 

Thanks,

S.

SaadEnnassiri
5 - Atom

Thanks a lot

Labels