I am not sure what question you are asking. I think that you have a timetable whose row times are datetimes, i.e. absolute times, and you want a timetable whose row times are durations, i.e. relative times. There's no way to do that in one step because there's no way for retime to know where "zero" is.
You are going to need to do this in two steps:
- replace the datetime row times with durations by subtracting off your origin
- retime to 30min steps
So something like
tt.Time = tt.Time - dateshift(min(tt.Time)m,'start','day); tt = retime(tt,minutes(0:30:1440),'sum')