Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.

Alteryx Designer Desktop Discussions

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

DateTimeParse

tessaenns
9 - Comet

Hello,

 

I am trying to parse a field called "checkintime", it is a date time field, but coming through as a V_W string. For example, the value looks like "2020-01-01 06:05:48" and I want one field for date and one field for time.

 

Please advise on best practices, thank you.

2 REPLIES 2
MarqueeCrew
20 - Arcturus
20 - Arcturus

Hi @tessaenns ,

 

You'll want to have two formulas (within one tool)

 

DATE_Component (DATE)

 

Left([Field],10)

 

 

TIME_Component (TIME)

 

Right([Field],8)

 

 

Cheers,

 

Mark

Alteryx ACE & Top Community Contributor

Chaos reigns within. Repent, reflect and restart. Order shall return.
Please Subscribe to my youTube channel.
tessaenns
9 - Comet

That worked, thank you for your quick response! Stay tuned, I have one more question. 🙂

Labels