In case you missed the announcement: The Alteryx One Fall Release is here! Learn more about the new features and capabilities here
ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests after December 31, 2025. Make sure to check your account preferences in my.alteryx to make sure you have filled out your security questions. Learn more here
Start Free Trial

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

 

binu_acs
21 - Polaris

@joshikalyani One way of doing this

image.png

joshikalyani
8 - Asteroid

Thank you @binu_acs , it worked

Labels
Top Solution Authors