asp.net中计算两个日期之间的相差的天数的方法(vb)

类别:.NET开发 点击:0 评论:0 推荐:
            Dim a As Date
            Dim b As Date
            a = System.DateTime.Now
            b = CDate(chkExport.Text)
            Dim ts As System.TimeSpan
            ts = a.Subtract(b)
            Dim pp As Integer
            pp = CInt(ts.TotalDays)

本文地址:http://com.8s8s.com/it/it44188.htm