MATLAB: Convert a time data into a Epoch/Unix time

epoch timeMATLABunix time

The time data are saved as DATE and TIME in the two columns of a Excel worksheet. How can I convert them into a Epoch/Unix time by Matlab?
DATE TIME
24-DEC-2016 04:31:04:59

Best Answer

posixtime( datetime(strcat(DATE, {' '}, TIME), 'InputFormat', 'dd-MMM-yyyy hh:mm:ss:SS') )