Alteryx Designer Desktop Discussions

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

DateTimeDiff results without colon

AKHAN
6 - Meteoroid

I have the following date-time data and I am applying difference between columns 'time_out' & 'time_in' with formula as shown below but the result is not coming with colon in hours:minutes but instead its coming as decimal. I need the result in hours:minutes.  please suggest how can I come up with this result

 

orange88724_0-1592559930011.png

orange88724_2-1592559961333.png

 

orange88724_3-1592559972152.pngorange88724_4-1592559983992.png

 

 

5 REPLIES 5
LordNeilLord
15 - Aurora
AKHAN
6 - Meteoroid

Well received. Thank a lot. I tried the following in formula. 

 

PadLeft(ToString(Floor([Difference]/60), 0), 2, '0') +
":" + PadLeft(ToString(Mod([DIfference], 60), 0), 2, '0')

grazitti_sapna
17 - Castor

Hi @AKHAN , please refer to the screenshot for the solution and if this resolves your query please mark this post as a solution.

Thanks.

grazitti_sapna_0-1592565623059.png

 

 

Sapna Gupta
AKHAN
6 - Meteoroid

it was helpful as well. Thanks a lot. 

grazitti_sapna
17 - Castor

@AKHAN  you are welcome.

 

Sapna Gupta
Labels