MATLAB: How to import date time format from excel

dateexcel

I am trying to import excel data that has a date and time stamp, but MATLAB is ignoring it. The date and time is in the A column of excel, and when I use the import data button in MATLAB it only imports the data in the B column. In the excel cell it looks like this:
2016/03/11 15:50:47.689
But the actual data in the cell is:
3/11/2016 3:50:48 PM
This also doesn't make sense because in a slightly different file with the same date format is working.

Best Answer

Use xlsread function
[num,text,both]=xlsread('yourfile.xlsx')