I am using following to get the path now, just figured.
a = (fileparts(which('myData.csv')));
b = [a, '\', 'myData.csv'];
rawData = dataset('XLSFile','myData.csv', 'sheet','myData');
That gets me the path of the file and I make sure my file being read from that path. But how do i get time stamp?