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

Popular posts from this blog

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -