function time=spmrname2time(spmrcruise)

spmryear=str2num(spmrcruise(:,11:14));
spmrmonth=str2num(spmrcruise(:,15:16));
spmrday=str2num(spmrcruise(:,17:18));
spmrhour=str2num(spmrcruise(:,19:20));
spmrmin=str2num(spmrcruise(:,21:22));
spmrsec=str2num(spmrcruise(:,23:24));
time=datenum(spmryear,spmrmonth,spmrday,spmrhour,spmrmin,spmrsec);