title: How can I convert a gregorian time vector into datetime in Python?
body: <p>I have a vector of time in Gregorian type. I want to convert it in the common format of dates with year, month, day, hour, minute and seconds.</p>
  
  <p>I tried this:</p>
  
  <p><code>from datetime import datetime</code></p>
  
  <p><code>datetime.fromordinal(736364.94)</code></p>
  
  <p>It returns always something only with the information of year, month and day. Like this:</p>
  
  <p><code>datetime.datetime(2017, 2, 4, 0, 0)</code></p>
  
  <p>I was expecting a date with hours, minutes and seconds information</p>