Alteryx Designer Desktop Discussions

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

How we Parse a Time in Alteryx ?

rohit782192
11 - Bolide

I have one Data set which contains only time from the server as below.

 

I have idea on the Datetime as Alteryx take ISO format. But i am little confused only on the Time format as seen for the First Time.

 

How we Parse this type of Data.

 

12:00 PM
13:00 PM
10:37 AM
10:37 PM
11:38 PM
20:00 PM
2 REPLIES 2
DataNath
17 - Castor

Hey @rohit782192, this can be done with the DateTime tool but I have a preference of using the Formula tool, which would look something like this:

 

DateTimeParse([Time],'%H:%M')

 

DataNath_0-1662708618670.png

 

Is your incoming data automated? Just find it a little strange that it uses military time and still keeps AM/PM.

 

Edit: If you did want to use the DateTime tool you could just do so like this:

 

DataNath_0-1662708780067.png

binuacs
20 - Arcturus

@rohit782192 Another way of doing this. I put the correct format of the time

 

binuacs_0-1662709987232.png

 

Labels