Answers.Body: <p>Thanks for taking the time describing the problem. </p>
  
  <p>As it seems to be a bug rather than a question, i think you should create a new issue in the <a href="https://issues.civicrm.org" rel="nofollow">issue tracker</a> rather than using Stack Exchange.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-07-29T03:03:39.940Z
Answers.LastActivityDate: 2015-07-29T03:03:39.940Z
Answers.UserDisplayName: samuelsov
Body: <p>There seems to be a bug in doing searches on date ranges - specifically in Advanced Search and in Find Contributions. We're using Drupal and Civi 4.6.2.</p>
  
  <p>When I type into Adv Search's Member Since date range fields OR Find Contribution's contribution date range fields only 2 digits for the year (1/1/14) I get a nonsensical number of records back. No error msg, just an obviously wrong set of data. I confirm by looking at several records but they do not match the date range in either Member Since or Contrib Date.</p>
  
  <p>However, when I type in all four year digits, then I get the expected results. </p>
  
  <p>I have tested this in the demo Civi and received the same results for both - only 2 digits gets bad results, 4 digits gets correct one.</p>
  
  <p>I used to be able to type in only 2 digits (since we started using Civi in 11/12). </p>
  
  <p>Please add in an error message or change the field instructions. </p>
  
  <p>Thank you.</p>
  
Tags: <search><search-results>
Title: Problem with Date Range in searches
ThreadText: # Problem with Date Range in searches
  
  (Asked by: username_0 on 2015-07-22)
  
  There seems to be a bug in doing searches on date ranges - specifically in Advanced Search and in Find Contributions. We're using Drupal and Civi 4.6.2.
  
  When I type into Adv Search's Member Since date range fields OR Find Contribution's contribution date range fields only 2 digits for the year (1/1/14) I get a nonsensical number of records back. No error msg, just an obviously wrong set of data. I confirm by looking at several records but they do not match the date range in either Member Since or Contrib Date.
  
  However, when I type in all four year digits, then I get the expected results.
  
  I have tested this in the demo Civi and received the same results for both - only 2 digits gets bad results, 4 digits gets correct one.
  
  I used to be able to type in only 2 digits (since we started using Civi in 11/12).
  
  Please add in an error message or change the field instructions.
  
  Thank you.
  
  **Tags:** search, search-results
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2015-07-29. Score: 1
  
  Thanks for taking the time describing the problem.
  
  As it seems to be a bug rather than a question, i think you should create a new issue in the [issue tracker](https://issues.civicrm.org) rather than using Stack Exchange.
  
  
  ---
  
  