hello please help me anyone the problem is i know how to copute for the duartion of 2 time like for example a login and a log out and there duration but i dont know how to compute if the log out is more than 1 day and week
please give me the code for computing duration for more than 1 day or 1 week here is the sample code
Dim Time1 As Date
Dim Time2 As Date
Dim Dur As Date
get the time first to be stored in text1 and text2
Time1 = CDate(Text1.Text)
Time2 = CDate(Text2.Text)
Dur = Time2 - Time1
Text3.Text = Format(Dur,"hh:mm:ss")
this code computes duration for just 1 day and i want to know how to compute for more than a day or a week please help me please......
Enter your message below
Sign in or Join us (it's free).