* "Mike Fellows" <mi***************@equityhouse.co.uk> scripsit:
i have 2 dates
one is todays date and the other is a future date
i want to take todays date from ther future date and tell me how many days
difference this is
\\\
Dim d1 As Date = #4/4/1999#
Dim d2 As Date = Date.Now
Dim ts As TimeSpan
ts = d2.Subtract(d1)
MsgBox(CStr(Int(ts.TotalDays)))
MsgBox(CStr(DateDiff(DateInterval.Day, d1, d2)))
///
--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>