<?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/"
		>
<channel>
	<title>Comments on: MSSQL &#124; Convert unix timestamp to date</title>
	<atom:link href="http://www.iliveinperego.com/2007/04/mssql-convert-unix-timestamp-to-date/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.iliveinperego.com/2007/04/mssql-convert-unix-timestamp-to-date/</link>
	<description>Yes !</description>
	<lastBuildDate>Fri, 19 Aug 2011 07:35:49 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: simone</title>
		<link>http://www.iliveinperego.com/2007/04/mssql-convert-unix-timestamp-to-date/comment-page-1/#comment-847</link>
		<dc:creator>simone</dc:creator>
		<pubDate>Fri, 18 May 2007 15:57:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.iliveinperego.com/mssql-convert-unix-timestamp-to-date#comment-847</guid>
		<description>Hello. Why do you say that

&lt;blockquote&gt;SELECT DATEADD(SECOND, 1179367200, ‘19700101′) as realdate&lt;/blockquote&gt;

should returns 2007-05-16 7:00 pm ?

If I convert &lt;em&gt;1179367200 &lt;/em&gt;I get &lt;em&gt;Thu, 17 May 2007 04:00:00 +0200&lt;/em&gt;</description>
		<content:encoded><![CDATA[<p>Hello. Why do you say that</p>
<blockquote><p>SELECT DATEADD(SECOND, 1179367200, ‘19700101′) as realdate</p></blockquote>
<p>should returns 2007-05-16 7:00 pm ?</p>
<p>If I convert <em>1179367200 </em>I get <em>Thu, 17 May 2007 04:00:00 +0200</em></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bev Scott</title>
		<link>http://www.iliveinperego.com/2007/04/mssql-convert-unix-timestamp-to-date/comment-page-1/#comment-846</link>
		<dc:creator>Bev Scott</dc:creator>
		<pubDate>Wed, 16 May 2007 18:54:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.iliveinperego.com/mssql-convert-unix-timestamp-to-date#comment-846</guid>
		<description>When I use the following function.

The date is one day ahead of what it should be.
It does not show any time.

SELECT DATEADD(SECOND, 1179367200, &#039;19700101&#039;) as realdate

returns
2007-05-17 02:00:00.000

the date and time should be
2007-05-16 7:00 pm


select dateadd(ss, {field_name}, ‘19700101′)


Can anyone help me with this.</description>
		<content:encoded><![CDATA[<p>When I use the following function.</p>
<p>The date is one day ahead of what it should be.<br />
It does not show any time.</p>
<p>SELECT DATEADD(SECOND, 1179367200, &#039;19700101&#039;) as realdate</p>
<p>returns<br />
2007-05-17 02:00:00.000</p>
<p>the date and time should be<br />
2007-05-16 7:00 pm</p>
<p>select dateadd(ss, {field_name}, ‘19700101′)</p>
<p>Can anyone help me with this.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

