-
Jul 19th, 2018, 03:37 PM
#1
Thread Starter
Enjoy the moment
[RESOLVED] how can i get the total time between the time?
hey,
is there a way to get the total time between 2 diffrent hours?
e.x
Code:
18/07/2018 11:00:00 - 18/7/2018 11:15:00 total time = 15 minutes
18/07/2018 13:00:00 - 18/7/2018 13:45:00 total time = 45 minutes
total time in 18/07/2018 = 60 minutes
and so on...
tnx for any help
salsa
-
Jul 19th, 2018, 03:59 PM
#2
Re: how can i get the total time between the time?
Go to MSDN (VB6 Help) and look at the DateDiff Function. Pretty self explanatory.
-
Jul 19th, 2018, 04:05 PM
#3
Re: how can i get the total time between the time?
Example:
Code:
Debug.Print DateDiff("n", "18/07/2018 11:00:00", "18/7/2018 11:15:00")
-
Jul 20th, 2018, 12:07 AM
#4
Thread Starter
Enjoy the moment
Re: how can i get the total time between the time?
thank you sami
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|