Tholle
Tholle

Reputation: 112777

Find items between two timestamps in EWS

By using the Query string-parameter in the FindItem-operation, I can find items between two dates, like so:

<QueryString>Received:01/01/2001..01/15/2001</QueryString>

Is there any way to be more specific than this, in order to find items between two timestamps with second accuracy?

I've tried ISO-formatted date strings and seconds since the epoch, but I can't get it to work.

Upvotes: 0

Views: 396

Answers (1)

Glen Scales
Glen Scales

Reputation: 22032

With Indexed search AQS or KQL you only have precision to the Date if you use a SearchFilter you can go to the second see EWS Managed API: Fetch emails by search filter on DateTimeReceived

Cheers Glen

Upvotes: 1

Related Questions