Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How i Subtract time from Time
Message
From
13/08/2002 01:42:34
 
 
To
09/08/2002 04:57:47
General information
Forum:
Visual Basic
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00687843
Message ID:
00688988
Views:
14
>may be you are looking for following
>
>'Get the difference in minutes
>vMinutes=((hour("02:00 PM")-hour("12:10 PM"))*60) + (minute("02:00 PM")-minute("12:10 PM"))
>'get the hour and minutes and convert to time
>vTime=cdate(cstr(int(vMinutes/60)) + ":" + cstr(vMinutes mod 60))
>
>that will return 1:50:00 AM
>you can make a function timeDiff that will take value of your parameters


Thanks,this one is my solution.
Previous
Reply
Map
View

Click here to load this message in the networking platform