I have been using this code to filter SurveyMonkey data based on date.
var settings = new GetResponseListSettings()
{
StartModifiedAt = DateTime.UtcNow.AddDays(-1)
};
List responses = surveyMonkey.GetSurveyResponseDetailsList((long)survey.Id,settings);
If i filter the survey data based on the date, I am not getting the survey data entered today. If there is no filtration, it works.
When I debug the code,
for the responses without date filter, i do get values.
Did you manage to resolve this? One thought is that the api is expecting times to be in UTC - is it possible that you were supplying a local time format that was being incorrectly interpreted as utc by the api?
I have been using this code to filter SurveyMonkey data based on date.
var settings = new GetResponseListSettings() { StartModifiedAt = DateTime.UtcNow.AddDays(-1) }; List responses = surveyMonkey.GetSurveyResponseDetailsList((long)survey.Id,settings);
If i filter the survey data based on the date, I am not getting the survey data entered today. If there is no filtration, it works.
When I debug the code,
for the responses without date filter, i do get values.