I have two datetimepicker controls as follows:
dtpStartDate = long date
dtpStartTime = custom "hh:mm"
I cannot seem to restrict the hour component of the dtpStartTime values to be between 07:00am - 18:00pm
I have tried using the as New datetime(y,m,d, 7, 0, 0) to no avail.
Any pointers please?
Thanks
dtpStartDate = long date
dtpStartTime = custom "hh:mm"
I cannot seem to restrict the hour component of the dtpStartTime values to be between 07:00am - 18:00pm
I have tried using the as New datetime(y,m,d, 7, 0, 0) to no avail.
Any pointers please?
Thanks