Add two timestamps of string type from two variables

var1 = 00:50:33 var2= 18:45:10
var3 = var1 + var2
Answer would be like 19:35:43
the timestamp can be anything , i need to add these times . Both variables are of string type. Please help me

welcome to the forum

Have a look here:


Thank you this helped me.

Perfect, Once it is running in your implementation just mark the solving post as solution. So others can see that it is working and can benefit from it. Thanks