Work Item Query via TFS API and the dayPrecision parameter

March 7, 2016

By default TFS doesn’t pay attention to the time part in work item queries when comparing datetime values. If you want to launch a query and you need to take into account the exact timestamp, you must switch off the dayPrecision parameter in the Query constructor.


using the dayPrecision parameter in the Query constructor

MSDN documentation:

Mystery resolved!