When defining or editing an account, you can specify permitted access hours.
By default, users can log in 24 hours a day. The access-time parameter enables you to limit access to defined hours, as per the system time defined for the operating system. For the current system time, enter show clock.
device# configure terminal
device(config)# username aming role user password Tijd1spw access-time 0800 to 1800