Time-based Access List (ACL) on Cisco IOS XR

Cisco IOS XR routers do not support time-based Access-List (ACL)s, which are access control lists that can be configured to permit or deny traffic based on time of day or day of the week.

An alternative to the use of time-based ACLs is to use an EEM script.

https://networklessons.com/cisco/ccie-enterprise-infrastructure/cisco-ios-embedded-event-manager