Mysql兩個time類型計算時間相減

round((UNIX_TIMESTAMP(finishtime)-UNIX_TIMESTAMP(starttime))/60)im

獲得的時間是分鐘數時間

相關文章
相關標籤/搜索