A time profile can be used to determine when a hunt group is put into night service mode. Calls then go to an alternate Night Service Fallback group if set, otherwise to voicemail if available or busy tone if not. See Hunt Group | Fallback.
For automatic voice recording, a time profile can be used to set when voice recording is used. See Hunt Group | Voice Recording.