Thanks Anthony.
That seems to work after some code like this.
t=localtime(epoch_date)
bf=sprintf("%d/%d/%d,%d:%d:%d",t.year+1900,t.mon+1,t.mday,t.hour,t.min,t.sec)
DTformat='yyyy/mm/dd,HH:MM:SS';
datenum(bf,DTformat)
numerical_date = datenum(bf,DTformat); %days from January 0, 0000
after some thought the same result can be obtained as follows;
numerical_date= dtetmenum(1)/86400 + datenum(1970,1,1)
would be nice if this was included as an "epoch2serial" utility just to
keep make it easy to remember!
cheers
Fritz