Difference between Python and Matlab ordinal dates http://stackoverflow.com/questions/2623156/how-to-convert-the-integer-date-format-into-yyyymmdd/2623204#2623204