Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.
Community is experiencing an influx of spam. As we work toward a solution, please use the 'Notify Moderator' option on the ellipsis menu to flag inappropriate posts.

Alteryx Designer Desktop Discussions

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

Parsing Day, Date, and Time

James89
7 - Meteor

Hi everyone, 

 

I have a string that contains: Monday,March11,20248:55:10PM

 

Is there anyway that I can split them into 3 column into Day, Date, and Time respectively?

 

Thanks and regards.

 

2 REPLIES 2
ShankerV
17 - Castor

Hi @James89 

 

Please use Regex tool for your use case as below.

 

(\w+),(.+,\d\d\d\d)(.+)

 

Screenshot 2024-10-04 121909.png

 

Many thanks

Shanker V

acotta17
7 - Meteor

Hi @James89 

 

An alternative approach is to utilize the DateTime Tool, followed by a Formula Tool. 

 

 

image.png

image.png

Labels