Clarification. It is the DateTime Structure and if you want
Calendar days rather than duration then you need to use the Date property of the DateTime Structure.
Ex.
' Calendar Days
Dim dte1 As New DateTime(2004, 1, 1, 23, 59, 0)
Dim dte2 As New DateTime(2004, 1, 2, 0, 0, 0)
Dim dys As Integer = dte2.Date.Subtract(dte1.Date).Days
' dys = 1
' Duration
Dim dte1 As New DateTime(2004, 1, 1, 23, 59, 0)
Dim dte2 As New DateTime(2004, 1, 2, 0, 0, 0)
Dim dys As Integer = dte2.Date(dte1).Days
' dys = 0
Forms/Controls Resizing/Tabbing
Compare Code
Generate Sort Class in VB
Check To MS)