Hello Sir/Madams.
I have DTPicker and i want to how can i determine if it is a saturday and sunday.
if it is sat/sun i have to add 1 more day to my Remaining Days.
thank you.
Then i have DueDate wherein one day will be added every time i add a holiday. But what i want is that When my DateDue adds one day and its going to be saturday it should be directly goes to monday.
Example: DueDate 3/22/2013 - i have a holiday in default so it will ad one day
Instead of DueDate 3/23/2013 = saturday it should be changed to DueDate 3/25/2012
Thank you in advance.
I have DTPicker and i want to how can i determine if it is a saturday and sunday.
if it is sat/sun i have to add 1 more day to my Remaining Days.
thank you.
Code:
if dtpicker1.value = vbsaturday then
days + 1
end if
Example: DueDate 3/22/2013 - i have a holiday in default so it will ad one day
Instead of DueDate 3/23/2013 = saturday it should be changed to DueDate 3/25/2012
Thank you in advance.