I want to get events of my calendar in a particular date using python O365 library.
#code to create account instance
schedule = account.schedule()
for item in schedule.get_events(query= "start/dateTime ge '2019-11-23T08:00' and end/dateTime ge '2019-11-23T19:00'",include_recurring=False):
print(item)
When I do this, I got all the events including the events not related to the date I specified.
I have gone through the docs and source code of O365 Calendar Query class, they are using 2 formats to get date value in query parameter.
1)Query instance - I tried but don't know how to pass value for this instance.
2)String instance - Above given code, but not getting the expected answer.
Please explain the format to pass Query instance and also point out why the above code is not extracts the exact date events?