How to create a Rule for after business hours AD login users

Dear All,

How to create a Rule for after business hours AD login users ? For Example my office hour is 9 AM to 5 PM, So I want to create use case for those user who login after 5 PM and before 9 AM.

Thanks in advance.

 

Regards,

Subhendu