Get Inspire insights from former attendees in our AMA discussion thread on Inspire Buzz. ACEs and other community members are on call all week to answer!

Alteryx Designer Desktop Discussions

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

Converting time

BillyL14
8 - Asteroid

Hi

Is there a way to covert string 10:30 am to date/time data type? I have used custom format HH:mm which worked but I don't know how to factor the am/pm. So 6:45 pm is coming up as 06:45, which is obviously wrong.

 

Thanks

6 REPLIES 6
Emil_Kos
17 - Castor
17 - Castor
JosephSerpis
17 - Castor
17 - Castor

Hi @BillyL14 I mocked up a workflow let me know what you think?

 

Time_08102020.JPG

atcodedog05
22 - Nova
22 - Nova

Hi @BillyL14 

 

Try this formula

DateTimeParse([Field1],"%I:%M %p")

Hope this helps 🙂

BillyL14
8 - Asteroid
BillyL14
8 - Asteroid

@Emil_Kos thanks

atcodedog05
22 - Nova
22 - Nova

Happy to help 🙂 @BillyL14 

 

Cheers and happy analyzing 😀

Labels