Hi @Prasanna Jain ,
According to my research and testing, there is no way to get list of all user who have access to a particular folder during certain day/time.
However ,as a workaround, you can use the follow REST API to get which user have access to SharePoint folder:
GET /_api/web/lists/getByTitle('ListName')/items(item-id)/RoleAssignments?$expand=Member,RoleDefinitionBindings
OR
GET /_api/web/getFolderByServerRelativeUrl('/sites/xxx/test/newfolder1')/ListItemAllFields/RoleAssignments?$expand=Member,RoleDefinitionBindings
My test result:
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.