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