i am realy sorry but i forget
ineed help me in this
Dim dteTemp As Date
Dim Time1 As String
Dim Time2 As String
Time1 = "11:00"
Time2 = "1:15"
dteTemp = TimeValue(Val(Split(Time1, ":")(0)) - Val(Split(Time2, ":")(0)), Val(Split(Time1, ":")(1)) - Val(Split(Time2, ":")(1)), 0)
Debug.Print =...
Dim Time1 As String
Dim Time2 As String
Dim Hours As Long
Dim Minutes As Long
Time1 = "40644:30:00"
Time2 = "20:15:00"
Hours = CLng(Split(Time1, ":")(0)) + CLng(Split(Time2, ":")(0))
Minutes = CLng(Split(Time1, ":")(1)) + CLng(Split(Time2, ":")(1))
Hours = Hours + CLng(Minutes / 60 - 0.5)...
how can calculate time in vb 6
like..(30:30:00+20:15:00)=50:45:00
30 hours and 30 minutes + 20 hours and 15 minutes
i use this
Dim Time1 As String
Dim Time2 As String
Dim Hours As Integer
Dim Minutes As Integer
Time1 = "30:30"
Time2 = "20:45"
Hours =...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.