which works perfectly fine when used in the client application (no result because files were created in 2015).
But when used in my application (a windows service running its own "Everything.exe -startup" process) the result of this query is the same as when I do not provide the "date created" switch.
For your information
The Everything.exe file run by the service is located at a different place that the one I use to check with the client.
in the Everything.ini file I have set the following:
If you use this for your photo application, make Windows and Program Files folders variable by using shell folders instead of hard paths. Example shell:windows (not everyone has Windows installed in C:\Windows).
The problem is that my windows service runs in isolated session 0, which does not allow UI. Anyway using -debug-log was ok (see the attachment).
I've been investigating further and used the service as "daemon" which allows me to run it in the user session (as admin).
It turned out that in this context the results are good. I mean specifying the date created returns no result as expected (without the date created I've got the expected count).
As it's the same code that is executed in both cases I guess that it has something to do with the service. I'll try to create a minimum repro project.
@NotNull
Thanks for the advice, but what you see in the query is already the translation of C# environment variables
You nailed it !
Thanks a lot for finding the solution so quickly, just for people who might face the same issue, in C# I had to format the date this way: "yyyyMMddTHH:mm:ss". I wonder if the date and time format specified in the Everything.ini file only relates to displayed dates in the client?