|
-
Apr 20th, 2000, 03:32 AM
#1
1.5 * 3.5 hours
I got my program to recognise that the time is or is not pass 5:00PM. The only thing I need to get to work now is the calculation below the IF statement. The If does work corectly.
Const OTLimit As Date = #5:00:00 PM#
Const OTCost As Integer = 1.5
If EndTime > OTLimit Then
OT = (EndTime - OTLimit)
OT = (OT * OTCost)
lblTotalHours.Caption = OT
End If
Thanks
Ken Devorak
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
|