title: Querying on Date properties with Endeca
body: <p>Please help me in my problem with implementing Endeca Guided Search 6.3.1 with ATG 10.2</p>
  
  <p><strong>Background</strong> :
  I am implementing basic text search where a user can search for a date (e.g. "24-Feb-2014"), I need to return records which have any date property matching this date. </p>
  
  <p>The data is invoicing data, so there are properties like, paymentDueDate, creationDate etc, that are of type <em>date</em></p>
  
  <p><strong>Issue</strong> :
  The data indexed in Endeca for date type properties is in the form of milliseconds. So when I have to search against a date input, I first parse the string date(<em>search term</em>) entered by the user to a millisecond and then fire the query like..</p>
  
  <pre><code>URLEneQuery --&gt; N=0&amp;Ntk=All&amp;Ntt=&lt;dateInMillis&gt;
  </code></pre>
  
  <p>My problem is I am not able to search for a whole day when I do this, as the date is converted to a specific millisecond and the records that match will be those which have the exact millisecond as the value for the date properties. I could have tried a range filter on the milliseconds for the start and end of the day, apparently that doesn't work when you are querying "All" instead of a specific property.</p>
  
  <p><strong>Question</strong> :
  Is it possible to index the date properties in Endeca in some date like format, because I don't care about storing/indexing the milliseconds/minutes/hours. I just need the date, so I could fire the query without parsing the string and fire the query on the input date "24-Feb-2014" as it is?</p>
  
  <p>Or if there is another way I could query MDEX using the presentation API?</p>
  
  <p>Any help is appreciated.</p>