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. Set up your security questions now so you can recover your account anytime, just log out and back in to get started. 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

How to add two time fields (24 hour format) in Alteryx ? Please help

AbhirupMukherjee09
7 - Meteor

Hi everyone, I am looking for an easier solution on how I can add two time fields in Alteryx, For Example  -

Time1                 Time2

09:00:00            00:10:00

10:15:00            00:45:00

12:40:00            00:30:00

 

So I want to add these two column and get my final column as 

Time3

09:10:00

11:00:00

13:10:00

 

How can I get this result ? Help please             

3 REPLIES 3
binu_acs
21 - Polaris
DataNath
17 - Castor
17 - Castor

Hey @AbhirupMukherjee09, here's one way you could go about achieving this where you parse out the hours/minutes/seconds of Time2 and individually add them to Time1. I've added an extra row to show all 3 working at once and correctly ticking over midnight:

 

DataNath_0-1667218694219.png

 

The only 'standout' thing to mention is creating a *dummy* DateTime to be able to use the DateTimeAdd(), hence the '1900-01-01 '+

AbhirupMukherjee09
7 - Meteor

Thanks alot @DataNath. This is exactly what I was looking for.

Labels
Top Solution Authors