hi,
I need to count the sick leaves in a month, for that i have to ignor Sat-sun on a datetime picker. how to i set the DateTime picker to ignor Sat and Sun?
Assume there are two date time pickers dt1 and dt2 thus there difference will return teh number of days without counting sat-sun
TY in Advance
How to Ignor Sunday and Saturdays on a DateTime Picker?
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.

Nir Bar107 reputationPosted Sep 30, 2009, 12:44 AM EDT
There isn't an automatic way of doing it.
I think the best way will be to count day-by-day in a loop:
return count
Please mark this post as an answer if it helps you
Nir