Dim ts As TimeSpan Dim condition As Boolean ts = dtp1.Value.Subtract(dtp2) if ts.Days >= 7 Then Condition =True
TimeSpan
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)