|
-
Apr 23rd, 2000, 11:53 PM
#1
I'm trying to take the total time than is in lblOTHours * 1.5 I'm having no luck at all. Help me out.
'Checks to see if there is overtime
If EndTime > OTLimit Then
'Calculates OT Hours
NumHoursOT = DateDiff("h", OTLimit, EndTime)
NumMinutesOT = DateDiff("n", OTLimit, EndTime)
NumMinutesOT = NumMinutesOT - (60 * NumHoursOT)
lblOTHours.Caption = NumHoursOT & ":" & NumMinutesOT
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
|