MATLAB Date Converter

Convert between MATLAB datenum serial date numbers and calendar dates. MATLAB uses day 1 as January 1, year 0000.

Integer part = date, decimal part = time (0.5 = 12:00 noon)

Result

31-Dec--1 00:00:00

ISO: -000001-12-31T00:00:00.000Z

Julian Date: 1721058.5

Year: -1

Month: 12

Day: 31

Hour: 0

Minute: 0

Second: 0

About MATLAB Datenum

MATLAB uses a serial date number (datenum) that represents dates as the number of days from January 1, year 0000 in the proleptic Gregorian calendar. The integer part is the date, and the fractional part represents the time of day. Use datenum() to create and datestr() to convert back to a human-readable format.