I did, but I have a problem if I have to do calculation which is separated by ":" sign
Actually, I did it in VB, just dunno how to make it in RB,
this is exactly what I Need
Dim Str1$, Str2$, Str3$, Str4$
Text2.Text = DateTime.DateDiff("n", Text1.Text, Label1.Text)
Str1 = Text2.Text \ 60
Str2 = Text2.Text Mod 60
If Str1 > 24 Then
Text3.Text = "More than a day.."
Else
Text3.Text = Str1 & " hours & " & Str2 & " minutes"
Text3.Text = Format(Text3.Text, "hh:mm")
If Val(Text2.Text) > 480 Then
Label2.Caption = Text2.Text - 480
Str3 = Label2.Caption \ 60
Str4 = Label2.Caption Mod 60
Text4.Text = Str3 & " hours & " & Str4 & " minutes"
End If
End If
regards,
Rivo