ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests Early 2026. Make sure to check your account preferences in my.alteryx.com 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

Time Add

henrygeorge
8 - Asteroid

How do I add 4 hours 59 minutes to this Time1 Table -

Record IDTime1
106:44:39
206:19:32
306:19:13
406:19:16
506:19:07
606:11:09

 

In such a way the result will be in HH:mm:ss format.

3 REPLIES 3
afv2688
16 - Nebula
16 - Nebula

Hello @henrygeorge ,

 

If your column has already the time format you could use the datetimeadd function:

 

datetimeadd([Time1], 299, 'minutes')

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Regards

OllieClarke
16 - Nebula
16 - Nebula

Hi @henrygeorge the following formula should do it:

datetimeadd('2020-01-01 '+[time1],299,'minutes') 

Ensuring that the datatype is Time

Hope that helps,

 

Ollie

OllieClarke_0-1579516083191.png

Jean-Balteryx
16 - Nebula
16 - Nebula

Hi @henrygeorge ,

 

I modified the workflow from the previous post !

 

Cheers,

 

Jean-Baptiste

Labels
Top Solution Authors