Code. Collaborate. Organize.
No Limits. Try it Today.
Private Sub RushOrder()
If DateOut.SelectedDate - DateIn.SelectedDate < TimeSpan.FromDays(7) Then
chkRush = True
chkRush = False
Dim ts as TimeSpan = DateOut.Value - DateIn.Value
If (ts.TotalDays > 7)
'' Do something when difference is greater than 7 days
'' Do something when the difference is less than 7 days
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)