How to set the time as condition within if statement?

E

Eric

Does anyone know how to set the time as condition within if statement?
If(current time > today's 5pm [after 5pm] and
current time<today's 11:59 pm [before 11:59pm],true,false)

Thank you for any suggestion
Eric
 
Top