remove seconds from timespan using c#

后端 未结 0 1785
有刺的猬
有刺的猬 2021-02-13 07:47

I want to remove the seconds from timespan using c#

My code is here:

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


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