title: jq filter json by dates
body: <p>I have some json that looks like this</p>
  
  <pre><code> {
    "users":[ {  
       "id":8734,
       "last_login":"2016-10-04T06:59:40Z"
    },
    {  
      "id":9376,
      "last_login":"2016-05-04T20:37:32Z"
    },
    {  
      "id":9376,
      "last_login":null
    }
  ]}
  </code></pre>
  
  <p>I want to return ids that the last login date is > 90days so in this case it should only return 9376.  I am thinking I need to use fromdateiso8601  in combination with a select but am having a little trouble getting the syntax right. </p>
  
  <p>This seems to work</p>
  
  <pre><code>.users[] | select ( .last_login | fromdateiso8601 &gt; 1475625600) | .id 
  </code></pre>
  
  <p>but I still get </p>
  
  <pre><code>jq: error (at &lt;stdin&gt;:0): strptime/1 requires string inputs and arguments
  </code></pre>
  
  <p>how do I deal with the null,  ideally those would be included in the results. </p>