Dim date1 As Date = #10/10/2006# Dim date2 As Date = #12/10/2006# Dim ts As TimeSpan = date2.Subtract(date1) Label1.Text = ts.TotalDays.ToString
Post a Comment
Click here to submit your site to the search engines for free!
1 comment:
Dim date1 As Date = #10/10/2006#
Dim date2 As Date = #12/10/2006#
Dim ts As TimeSpan = date2.Subtract(date1)
Label1.Text = ts.TotalDays.ToString
Post a Comment