Quantcast
Channel: VBForums - Visual Basic 6 and Earlier
Viewing all articles
Browse latest Browse all 21251

DTPICKER value

$
0
0
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.

Code:

if dtpicker1.value = vbsaturday then
days + 1
end if

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.

Viewing all articles
Browse latest Browse all 21251

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>