title: how to check linq comparing date format in vb.net
body: <p>Say I want record of all employees of date "07/03/2013" where format is "MM/dd/yyyy". 
  my expression in linq will be :</p>
  
  <pre><code>_dbContext.EmployeeDetails.Where(Function(f) f.EmpId = _empId And f.Date="07/03/2013")
  </code></pre>
  
  <p>here how linq manage the date format as "MM/dd/yyyy". OR how to compare "<code>f.Date</code>" with MM/dd/yyyy ? </p>
  
  <p>Say,
  if i does </p>
  
  <pre><code>_dbContext.EmployeeDetails.Where(Function(f) f.EmpId = _empId And f.Date.ToString("MM/dd/yyyy")="07/03/2013")
  </code></pre>
  
  <p>It does not allow me. suppose my date will "07/13/2013" then we can consider it matches and sync the format with <code>"f.Date"</code> but what about date is under 12 ? In fact by using first expression, m getting march month records, rather July. 
  How to figure out this issue?</p>