3.49 FAQ-282 How do I convert date data from Matlab to Origin

Last Update: 2/4/2015

Origin uses a 12 hour offset from the Astronomical Julian Day Number as 0 (January 1, 4713 BCE 12:00 AM). No assumptions are made about time zones or any time shifting scheme (such as Daylight Savings). For example, 11 June 1998 at 21:23:01 has an Origin Julian Day Number of 2450975.890984.

Matlab represents dates with 3 variable types: Date Strings, Date Vectors, and Date Serial Numbers. Serial Number dates are based on January 1, 0000

Date Format in Matlab Conversion to Origin
Date String N/A
Date Vector N/A
Date Serial Number Add 1721058.0

Keywords:Julian Day Number, numerical date system, date serial number system, Matlab