title: You cannot supply a time with the date when running a query using date precision
body: <p>I am working on tfs workitem. I am trying to fetch the workitem collection using query, i am getting the following error. Any help me please?</p>
  
  <p>[System.ChangedDate] > '4/19/06 1:00 PM' the following error is returned "You cannot supply a time with the date when running a query using date precision. The error is caused by «[System.ChangedDate] > '4/19/06 1:00 PM'»." yet this Field is of DateTime precision. Any suggestions or answers to why this is occuring?</p>
  
  <pre><code>var myquery= " SELECT [System.Id]" +
          " FROM WorkItems " +
      " WHERE " +
      " [System.TeamProject] = '" + ivSettings.Project + "'" + 
          " AND [System.ChangedDate] = '" + ivSettings.LastSyncGen + "'" + " " +
      " ORDER BY [System.Id]"
  
                   , null,false);
      Query qry = new Query(myworkitemstore, myquery, mycontext, false);
  
      ICancelableAsyncResult car = qry.BeginQuery();
        WorkItemCollection items = qry.EndQuery(car);
  </code></pre>
  
  <p>The above is my code. </p>
  
  <p>Thanks in advance</p>