title: FIWARE Orion string query and dates
body: <p>I have a question regarding queries, I am working on FIWARE Orion instance where the date is stored as a string:</p>
  
  <pre><code>"date": {
          "type": "String",
          "value": "2019-01-02T00:00:00.0000Z",
          "metadata": {}
      }
  </code></pre>
  
  <p>I have checked documentation about queries (most interest in <code>&lt;</code> <code>&gt;</code>)</p>
  
  <blockquote>
    <p>This operation is only valid for target properties of type date, number or string (used with target properties of other types may lead to unpredictable results).</p>
  </blockquote>
  
  <p>But it is not possible for me to for example to use this query:</p>
  
  <pre><code>q=date&lt;2020-04-13T00:00:00.0000Z
  q=date&lt;2020-04-13
  </code></pre>
  
  <p>My question is this possible if it is then what I am doing wrong here. If not then I will have to find an alternative way of getting this query to work.</p>
  
  <p>Thanks.</p>