visual studio 2008 - to calculate no of working days in a current month excluding sunday in windows application in .net -
to calculate no of working days in current month excluding sunday in windows application in .net.please helpfull possible..
this compute number on non-sunday's in month (example shows current month).
var daysthismonththatarenotsundays = enumerable.range(1, datetime.daysinmonth(datetime.now.year, datetime.now.month)).where( d => new datetime(datetime.now.year, datetime.now.month, d).dayofweek != dayofweek.sunday).count();
Comments
Post a Comment