Alteryx Designer Desktop Discussions

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

Convert Date time

joshikalyani
8 - Asteroid

Hi

 

I wanted to compare two columns attached in sheet. But, dates have difference of 5H 30 min.

 

Executiontime=GC_Executiontimestamp+5h 30m 

 

 

5 REPLIES 5
ShankerV
17 - Castor

Hi @joshikalyani 

 

Please use the below formula in Formula tool.

 

DateTimeFormat(Datetimeadd(Datetimeadd(Replace(Left([GC_Execution timestamp],19), "T", " "),5,"hours"),30,"minutes"),"%m/%d/%y %H:%M")

 

Many thankss

Shanker V

joshikalyani
8 - Asteroid

thank you for the reply, I'm comparing both columns but not getting expected result

 

joshikalyani
8 - Asteroid

 Execution time in the sheet is different format in AM & PM, so retruning FALSE although correct

 

binuacs
20 - Arcturus

@joshikalyani One way of doing this

image.png

joshikalyani
8 - Asteroid

Thank you @binuacs , it worked

Labels