title: How to return all entries from specific date in log.nsf
body: <p>I need to return all entries (collection) from a specific date from the miscellaneus view in log.nsf using SSJS.</p>
  
  <p>The views first category is "text" and the second category is a "date". </p>
  
  <p>I tried to use the methods getAllEntriesByKey(vector) or createViewNavFromCategory(vector) but I got kind of stuck as the categorized columns contain different data types.</p>
  
  <p>how can I do that?</p>
  
  <p>Here is one thing I tried</p>
  
  <pre><code>var logdb = sessionAsSigner.getDatabase("domino01/....","log.nsf");
  var logView = logdb.getView("MiscEvents")
  
  var v = new java.util.Vector()
  var nav = logView.createViewNavFromCategory("domino01/...\\2019-02-15")
  return nav.getCount()
  </code></pre>
  
  <p>and here is another</p>
  
  <pre><code>var logdb = sessionAsSigner.getDatabase("domino01/...","log.nsf");
  var logView = logdb.getView("MiscEvents")
  var v = new java.util.Vector()
  
  v.add("domino01/...")
  v.add(session.createDateTime("Today").getDateOnly())
  
  var nav = logView.getAllEntriesByKey(v)
  return nav.getCount()
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/1eHAt.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/1eHAt.png" alt="enter image description here"></a></p>