remove seconds from timespan using c#

后端 未结 0 1587
北海茫月
北海茫月 2021-02-13 07:36

I want to remove the seconds from timespan using c#

My code is here:

TimeSpan lateaftertime = new TimeSpan();
lateaftertime =  lateafter - Convert.ToDate         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题