*dtpDate.Value > DateTime.Now
OR *dtpDate.Value<DateTime.Now
OR *dtpDate.Value<=DateTime.Now
You may apply any operator in between the two values in order to compare.
Here the value marked star can be any value you wish to compare with the system date.
No comments:
Post a Comment