Documentation

This is machine translation

Translated by Microsoft
Mouse over text to see original. Click the button below to return to the English verison of the page.

Date Conversion

Convert dates or times from a numeric or string format

Functions

date2time Time and frequency from dates
datedisp Display date entries
datenum Convert date and time to serial date number
datestr Convert date and time to string format
m2xdate MATLAB date to Excel serial date number
time2date Dates from time and frequency
uicalendar Graphical calendar
x2mdate Excel serial date number to MATLAB serial date number or datetime format

Topics

Handle and Convert Dates

Handling and converting date character vectors, serial date numbers, and cash-flow dates.

Was this topic helpful?