TotalSeconds

将时段值转换为以秒为单位的数值,含小数,例如某个时段数据的值是1天6小时30分15秒,那么其TotalSeconds属性为109815

例如:

Dim t As New TimeSpan(1,6,30,15)
Dim
Seconds As Double
= t.TotalSeconds
Output.Show(Seconds)

 

 


本页地址:http://www.foxtable.com/webhelp/topics/0297.htm