int h,m,s,t,a; a = (h*60+m)+90*t; # 90 = 1h30m = 2160 / 24 時差 if (a>2160){ #下一天 a -= 2160; } else if(a<0){ #上一天 a+=2160; } div_t result=div(a,60); # h =a/60, m =a%60 算共幾小時幾分 h ,m,s