title: R: Shiny dateRangeInput format
body: <p>I am using the packet shiny for R and I implemented a dateRangeInput in my <strong>ui.R:</strong></p>
  
  <pre><code>   dateRangeInput("date", "Date range:",
                         start  = "2013-05-15",
                         end    = "2013-10-01",
                         min    = "2013-05-15",
                         max    = "2013-10-01",
                         format = "dd/mm/yy",
                         separator = " - ")
  </code></pre>
  
  <p>If I display the selected min and max values, i get the following (weird) output:</p>
  
  <p><strong>Min date value:</strong> </p>
  
  <pre><code>renderText({(input$date[1])})
  </code></pre>
  
  <p>Output: </p>
  
  <pre><code> 15840
  </code></pre>
  
  <p><strong>Max date value:</strong></p>
  
  <pre><code>renderText({(input$date[2])})
  </code></pre>
  
  <p>Output:</p>
  
  <pre><code>15979
  </code></pre>
  
  <p>Why do I get these numbers in the output and not the selected ate from the ui.R itself: 2013-05-15 and 2013-10-01 ? And how can I transform it to such a format? as.Date does not work.</p>