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
15 - Aurora
15 - Aurora

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