Could anyone explain the steps?
DelayStep = 60;%in seconds
MaxStep = 86400;for j=dStart:dEnd currDay = datevec(j); for k=0:DelayStep:MaxStep hms = [0 0 0 fix(mod(k, [0, 3600, 60]) ./ [3600, 60, 1])]; UTCTimetoCalculate = datestr(hms+currDay); end end
Best Answer