|
-
Aug 23rd, 2000, 05:05 PM
#1
Thread Starter
Hyperactive Member
Does anybody know how to calculate the time difference between (for example: 01:00 PM and 02: AM)?
I've set 2 variables:
StartTimeValue = Format(MyStartTime, "hh")
EndTimeValue = Format(MyEndTime, "hh")
'StartTimeValue will return 13 when 01:00 PM is set.
'EndTimeValue will return 02 when 02:00 AM is set.
Now how can I get the time difference? Is this format
I'm using ok, or should I use "hh:mm" for the return
value?
thx, sub-zero
Visual Studio 6.0 Enterprise Edition
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
|