Click here to Skip to main content
15,895,557 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Disabling dates before current date of a datetimepicker control in VB.Net
Posted

1 solution

try
this
datetimepicker.mindate = now.Date
 
Share this answer
 
v2
Comments
Kaushikhalvadiya 18-Apr-17 2:49am    
Agree datetimepicker.Value will not give future date if code is written like this.

But user can select future date

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900