How can I manipulate the time so that I can use it for conditional statements?

For example the Time Function and the TimeSerial Function?

For example, the program will prompt a message box if the system time is greater than or equal to 8:00 AM and less than or equal to 12:00 PM

If Time >= TimeSerial(8, 0, 0) Then
MsgBox "Off-Peak"
ElseIf Time <= TimeSerial(12, 0, 0) Then
MsgBox "Off-Peak"
End If

using this code I think is wrong.