title: R datetime function
body: <p>I am trying to generate date and time in this format below</p>
  
  <pre><code>2016-06-29T16:30:00
  </code></pre>
  
  <p>So curious to find out which R datetime function will return date and time in that format. Any help is much appreciated.</p>