title: How to extract the time using R from a MATLAB serial date number?
body: <p>I have some MATLAB serial date number that I need to use in R but I havt to convert them to a normal date.</p>
  
  <pre><code>    Matlab:
     datestr(733038.6)
      ans =
      27-Dec-2006 14:24:00 
  </code></pre>
  
  <p>you can see it gives the date and time.</p>
  
  <pre><code>Now we try in R:
  Matlab2Rdate &lt;- function(val) as.Date(val - 1, origin = '0000-01-01') 
  &gt; Matlab2Rdate(733038.6)
  [1] "2006-12-27"
  </code></pre>
  
  <p>It gives only the date but I need also the time? Any idea</p>