•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the Visual Basic 4 / 5 / 6 section within the Software Development category of DaniWeb, a massive community of 427,227 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,216 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our Visual Basic 4 / 5 / 6 advertiser: Programming Forums
Views: 683 | Replies: 4
![]() |
•
•
Join Date: Feb 2008
Location: Sivakasi, Tamilnadu, India
Posts: 459
Reputation:
Rep Power: 1
Solved Threads: 79
Hi, i think adding two time values are possible in VB6 just using time1 + time2.
Ex
Ex
VB Syntax (Toggle Plain Text)
Dim Time1 As Date Dim Time2 As Date Dim TotalTime As Date Time1 = "2:15" Time2 = "4:30" TotalTime = Time1 + Time2 Time1 = "3:20" Time2 = "4:45" TotalTime = TotalTime + Time1 + Time2 MsgBox Hour(TotalTime) & " Hours " & Minute(TotalTime) & " Minutes" & Second(TotalTime) & " Seconds"
Last edited by selvaganapathy : Jul 11th, 2008 at 9:46 am.
KSG
![]() |
•
•
•
•
•
•
•
•
DaniWeb Visual Basic 4 / 5 / 6 Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
- Intermittent internet connection is driving me nuts (Networking Hardware Configuration)
- adding date or time to beginning of filename (PHP)
- Can anyone help me with adding 2 polynomials together? (C++)
- Need help with adding a page hit counter that uses the Application Bean (JSP)
- How can i add textbox values to listbox values.... (PHP)
- Adding Records to combo and searching them (Visual Basic 4 / 5 / 6)
- retrieve time from database (C#)
- Adding minutes to a timestamp (PHP)
- Adding mouse listener to a frame (Java)
- Another HotOffers Hijack (HJT log incl) (Viruses, Spyware and other Nasties)
Other Threads in the Visual Basic 4 / 5 / 6 Forum
- Previous Thread: list box problem
- Next Thread: Whats Tabel Using ???


Linear Mode