How to Fetch records between two dates in cosmosdb using c# application?

Author: Franklin

Originally Sourced from: https://stackoverflow.com/questions/73240369/how-to-fetch-records-between-two-dates-in-cosmosdb-using-c-sharp-application

I have tried to get the records between two dates in cosmosdb using C# application. but I couldnt find any article to do that.Please anyone suggest?