matlab unix time to datetime code example Example: matlab unix time to datetime date = datestr(unix_time/86400 + datenum(1970,1,1))