<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Dot Net Learning Zone Blog &#187; Uncategorized</title>
	<atom:link href="http://dotnethacker.wordpress.com/category/uncategorized/feed/" rel="self" type="application/rss+xml" />
	<link>http://dotnethacker.wordpress.com</link>
	<description>A blog about to learn Dot Net</description>
	<lastBuildDate>Tue, 10 Mar 2009 10:18:24 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='dotnethacker.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://www.gravatar.com/blavatar/bd73af5c5d7f80b4297a4a7888c59e8e?s=96&#038;d=http://s.wordpress.com/i/buttonw-com.png</url>
		<title>Dot Net Learning Zone Blog &#187; Uncategorized</title>
		<link>http://dotnethacker.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://dotnethacker.wordpress.com/osd.xml" title="Dot Net Learning Zone Blog" />
		<item>
		<title>How to count week in month</title>
		<link>http://dotnethacker.wordpress.com/2009/02/05/how-to-count-week-in-month/</link>
		<comments>http://dotnethacker.wordpress.com/2009/02/05/how-to-count-week-in-month/#comments</comments>
		<pubDate>Thu, 05 Feb 2009 18:26:39 +0000</pubDate>
		<dc:creator>Rajesh</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://dotnethacker.wordpress.com/?p=40</guid>
		<description><![CDATA[  public int GetWeekInMonth(int year, int month)
        {
            CultureInfo cinfo = CultureInfo.CurrentCulture;
            Calendar MyCal = CultureInfo.InvariantCulture.Calendar;
            int CountWeek = 0;
            for (int icount = 1; icount &#60; cinfo.Calendar.GetDaysInMonth(year, month); icount++)
            {
                string str = Convert.ToString(MyCal.GetDayOfWeek(new DateTime(year, month, icount)));
                if (str.Equals(&#8220;Monday&#8221;, StringComparison.OrdinalIgnoreCase))
                {
                    CountWeek = CountWeek + 1;
                }
 
            }
            return CountWeek;
        }
 
 
    [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dotnethacker.wordpress.com&blog=1463994&post=40&subd=dotnethacker&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p class="MsoNormal" style="text-indent:0;margin:0;"><span style="font-size:10pt;font-family:&quot;"><span>  p</span><span style="color:blue;">ublic </span><span style="color:blue;">int</span> GetWeekInMonth(<span style="color:blue;">int</span> year, <span style="color:blue;">int</span> month)</span></p>
<p class="MsoNormal" style="text-indent:0;margin:0;"><span style="font-size:10pt;font-family:&quot;"><span>        </span>{</span></p>
<p class="MsoNormal" style="text-indent:0;margin:0;"><span style="font-size:10pt;font-family:&quot;"><span>            </span><span style="color:#2b91af;">CultureInfo</span> cinfo = <span style="color:#2b91af;">CultureInfo</span>.CurrentCulture;</span></p>
<p class="MsoNormal" style="text-indent:0;margin:0;"><span style="font-size:10pt;font-family:&quot;"><span>            </span><span style="color:#2b91af;">Calendar</span> MyCal = <span style="color:#2b91af;">CultureInfo</span>.InvariantCulture.Calendar;</span></p>
<p class="MsoNormal" style="text-indent:0;margin:0;"><span style="font-size:10pt;font-family:&quot;"><span>            </span><span style="color:blue;">int</span> CountWeek = 0;</span></p>
<p class="MsoNormal" style="text-indent:0;margin:0;"><span style="font-size:10pt;font-family:&quot;"><span>            </span><span style="color:blue;">for</span> (<span style="color:blue;">int</span> icount = 1; icount &lt; cinfo.Calendar.GetDaysInMonth(year, month); icount++)</span></p>
<p class="MsoNormal" style="text-indent:0;margin:0;"><span style="font-size:10pt;font-family:&quot;"><span>            </span>{</span></p>
<p class="MsoNormal" style="text-indent:0;margin:0;"><span style="font-size:10pt;font-family:&quot;"><span>                </span><span style="color:blue;">string</span> str = <span style="color:#2b91af;">Convert</span>.ToString(MyCal.GetDayOfWeek(<span style="color:blue;">new</span> <span style="color:#2b91af;">DateTime</span>(year, month, icount)));</span></p>
<p class="MsoNormal" style="text-indent:0;margin:0;"><span style="font-size:10pt;font-family:&quot;"><span>                </span><span style="color:blue;">if</span> (str.Equals(<span style="color:#a31515;">&#8220;Monday&#8221;</span>, <span style="color:#2b91af;">StringComparison</span>.OrdinalIgnoreCase))</span></p>
<p class="MsoNormal" style="text-indent:0;margin:0;"><span style="font-size:10pt;font-family:&quot;"><span>                </span>{</span></p>
<p class="MsoNormal" style="text-indent:0;margin:0;"><span style="font-size:10pt;font-family:&quot;"><span>                    </span>CountWeek = CountWeek + 1;</span></p>
<p class="MsoNormal" style="text-indent:0;margin:0;"><span style="font-size:10pt;font-family:&quot;"><span>                </span>}</span></p>
<p class="MsoNormal" style="text-indent:0;margin:0;"><span style="font-size:10pt;font-family:&quot;"> </span></p>
<p class="MsoNormal" style="text-indent:0;margin:0;"><span style="font-size:10pt;font-family:&quot;"><span>            </span>}</span></p>
<p class="MsoNormal" style="text-indent:0;margin:0;"><span style="font-size:10pt;font-family:&quot;"><span>            </span><span style="color:blue;">return</span> CountWeek;</span></p>
<p class="MsoNormal" style="text-indent:0;margin:0;"><span style="font-size:10pt;font-family:&quot;"><span>        </span>}</span></p>
<p class="MsoNormal" style="text-indent:0;margin:0;"><span style="font-size:10pt;font-family:&quot;"> </span></p>
<p class="MsoNormal" style="margin:0 0 10pt .5in;"><span style="font-size:small;font-family:Calibri;"> </span></p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dotnethacker.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dotnethacker.wordpress.com/40/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dotnethacker.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dotnethacker.wordpress.com/40/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dotnethacker.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dotnethacker.wordpress.com/40/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dotnethacker.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dotnethacker.wordpress.com/40/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dotnethacker.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dotnethacker.wordpress.com/40/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dotnethacker.wordpress.com&blog=1463994&post=40&subd=dotnethacker&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://dotnethacker.wordpress.com/2009/02/05/how-to-count-week-in-month/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0a4569660033e084ca73354bbd3c0719?s=96&#38;d=identicon" medium="image">
			<media:title type="html">rajesh20k</media:title>
		</media:content>
	</item>
		<item>
		<title>Hello world!</title>
		<link>http://dotnethacker.wordpress.com/2007/08/03/hello-world/</link>
		<comments>http://dotnethacker.wordpress.com/2007/08/03/hello-world/#comments</comments>
		<pubDate>Fri, 03 Aug 2007 17:37:54 +0000</pubDate>
		<dc:creator>Rajesh</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[Welcome to WordPress.com. This is your first post. Edit or delete it and start blogging!
       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dotnethacker.wordpress.com&blog=1463994&post=1&subd=dotnethacker&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Welcome to <a href="http://wordpress.com/">WordPress.com</a>. This is your first post. Edit or delete it and start blogging!</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/dotnethacker.wordpress.com/1/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/dotnethacker.wordpress.com/1/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dotnethacker.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dotnethacker.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dotnethacker.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dotnethacker.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dotnethacker.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dotnethacker.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dotnethacker.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dotnethacker.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dotnethacker.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dotnethacker.wordpress.com/1/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dotnethacker.wordpress.com&blog=1463994&post=1&subd=dotnethacker&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://dotnethacker.wordpress.com/2007/08/03/hello-world/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0a4569660033e084ca73354bbd3c0719?s=96&#38;d=identicon" medium="image">
			<media:title type="html">rajesh20k</media:title>
		</media:content>
	</item>
	</channel>
</rss>