<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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: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>Comments on: SQL SERVER &#8211; Script/Function to Find Last Day of Month</title>
	<atom:link href="http://blog.sqlauthority.com/2007/05/20/sql-server-scriptfunction-to-find-last-day-of-month/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.sqlauthority.com/2007/05/20/sql-server-scriptfunction-to-find-last-day-of-month/</link>
	<description>Personal Notes of Pinal Dave</description>
	<lastBuildDate>Thu, 23 May 2013 14:22:59 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>By: SQL SERVER &#8211; Function: Is Function &#8211; SQL in Sixty Seconds #004 &#8211; Video &#171; SQL Server Journey with SQL Authority</title>
		<link>http://blog.sqlauthority.com/2007/05/20/sql-server-scriptfunction-to-find-last-day-of-month/#comment-257758</link>
		<dc:creator><![CDATA[SQL SERVER &#8211; Function: Is Function &#8211; SQL in Sixty Seconds #004 &#8211; Video &#171; SQL Server Journey with SQL Authority]]></dc:creator>
		<pubDate>Wed, 29 Feb 2012 01:32:09 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/05/20/sql-server-scriptfunction-to-find-last-day-of-month/#comment-257758</guid>
		<description><![CDATA[[...] More on Leap Yer: Detecting Leap Year in T-SQL using SQL Server 2012 – IIF, EOMONTH and CONCAT Function Date and Time Functions – EOMONTH() – A Quick Introduction Script/Function to Find Last Day of Month  [...]]]></description>
		<content:encoded><![CDATA[<p>[...] More on Leap Yer: Detecting Leap Year in T-SQL using SQL Server 2012 – IIF, EOMONTH and CONCAT Function Date and Time Functions – EOMONTH() – A Quick Introduction Script/Function to Find Last Day of Month  [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: madhivanan</title>
		<link>http://blog.sqlauthority.com/2007/05/20/sql-server-scriptfunction-to-find-last-day-of-month/#comment-182942</link>
		<dc:creator><![CDATA[madhivanan]]></dc:creator>
		<pubDate>Mon, 24 Oct 2011 15:51:41 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/05/20/sql-server-scriptfunction-to-find-last-day-of-month/#comment-182942</guid>
		<description><![CDATA[The simple method is

declare @month int, @year int
select @month=3, @year=2009
select DATEADD(year,@year-1900,dateadd(month,@month,0))-1]]></description>
		<content:encoded><![CDATA[<p>The simple method is</p>
<p>declare @month int, @year int<br />
select @month=3, @year=2009<br />
select DATEADD(year,@year-1900,dateadd(month,@month,0))-1</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steve</title>
		<link>http://blog.sqlauthority.com/2007/05/20/sql-server-scriptfunction-to-find-last-day-of-month/#comment-181602</link>
		<dc:creator><![CDATA[Steve]]></dc:creator>
		<pubDate>Fri, 21 Oct 2011 13:41:28 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/05/20/sql-server-scriptfunction-to-find-last-day-of-month/#comment-181602</guid>
		<description><![CDATA[Hello Pinal,

How do you calculate the last day of ANY month when you are only given the month and year, no day?

Thanks]]></description>
		<content:encoded><![CDATA[<p>Hello Pinal,</p>
<p>How do you calculate the last day of ANY month when you are only given the month and year, no day?</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Madhivanan</title>
		<link>http://blog.sqlauthority.com/2007/05/20/sql-server-scriptfunction-to-find-last-day-of-month/#comment-61235</link>
		<dc:creator><![CDATA[Madhivanan]]></dc:creator>
		<pubDate>Tue, 16 Feb 2010 11:15:35 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/05/20/sql-server-scriptfunction-to-find-last-day-of-month/#comment-61235</guid>
		<description><![CDATA[Another method


DECLARE @date DATETIME
    SET @date=&#039;2008-02-03&#039;

SELECT DATEADD(month,DATEDIFF(month,0,@date)+1,-1) AS LastDayOfMonth]]></description>
		<content:encoded><![CDATA[<p>Another method</p>
<p>DECLARE @date DATETIME<br />
    SET @date=&#8217;2008-02-03&#8242;</p>
<p>SELECT DATEADD(month,DATEDIFF(month,0,@date)+1,-1) AS LastDayOfMonth</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ajay Pai</title>
		<link>http://blog.sqlauthority.com/2007/05/20/sql-server-scriptfunction-to-find-last-day-of-month/#comment-57853</link>
		<dc:creator><![CDATA[Ajay Pai]]></dc:creator>
		<pubDate>Tue, 24 Nov 2009 06:05:53 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/05/20/sql-server-scriptfunction-to-find-last-day-of-month/#comment-57853</guid>
		<description><![CDATA[Thanks for this article. It helped me a lot . 
:-)]]></description>
		<content:encoded><![CDATA[<p>Thanks for this article. It helped me a lot .<br />
:-)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mitesh</title>
		<link>http://blog.sqlauthority.com/2007/05/20/sql-server-scriptfunction-to-find-last-day-of-month/#comment-51996</link>
		<dc:creator><![CDATA[Mitesh]]></dc:creator>
		<pubDate>Mon, 18 May 2009 05:44:58 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/05/20/sql-server-scriptfunction-to-find-last-day-of-month/#comment-51996</guid>
		<description><![CDATA[DECLARE @date DATETIME
SET @date=&#039;2009-02-04&#039;
SELECT
	DATEADD(mm,1,@date)-DAY(@DATE)
            AS LastDayOfMonth]]></description>
		<content:encoded><![CDATA[<p>DECLARE @date DATETIME<br />
SET @date=&#8217;2009-02-04&#8242;<br />
SELECT<br />
	DATEADD(mm,1,@date)-DAY(@DATE)<br />
            AS LastDayOfMonth</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: SQL SERVER - Find Last Day of Any Month - Current Previous Next Journey to SQL Authority with Pinal Dave</title>
		<link>http://blog.sqlauthority.com/2007/05/20/sql-server-scriptfunction-to-find-last-day-of-month/#comment-8214</link>
		<dc:creator><![CDATA[SQL SERVER - Find Last Day of Any Month - Current Previous Next Journey to SQL Authority with Pinal Dave]]></dc:creator>
		<pubDate>Sat, 18 Aug 2007 15:30:54 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/05/20/sql-server-scriptfunction-to-find-last-day-of-month/#comment-8214</guid>
		<description><![CDATA[[...] SQL SERVER - Script/Function to Find Last Day of Month SQL SERVER - Query to Find First and Last Day of Current Month [...]]]></description>
		<content:encoded><![CDATA[<p>[...] SQL SERVER &#8211; Script/Function to Find Last Day of Month SQL SERVER &#8211; Query to Find First and Last Day of Current Month [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>
