<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Snipplr - rengber</title>
<link>http://snipplr.com/users/rengber/language/sql/tags/DateTime</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Thu, 04 Dec 2008 18:27:08 GMT</pubDate>
<item>
<title>(SQL) TSQL Convert Xml DateTime (xs:datetime) to SQL DateTime</title>
<link>http://snipplr.com/view/3827/tsql-convert-xml-datetime-xsdatetime-to-sql-datetime/</link>
<description><![CDATA[ <p>This is as small as this can go: 
'xs:dateTime(sql:variable("@stringDate"))'
It needs to be a literal string for the Value() function.  

Xml Datatype 
http://msdn2.microsoft.com/en-us/library/ms189887.aspx

Sql:Variable() Function 
http://msdn2.microsoft.com/en-us/library/ms188254.aspx

'xs:dateTime( val )' 
http://www.w3schools.com/xpath/xpath_functions.asp#datetime

Xml Datatype Methods 
http://msdn2.microsoft.com/en-us/library/ms190798.aspx</p> ]]></description>
<pubDate>Wed, 03 Oct 2007 17:51:34 GMT</pubDate>
<guid>http://snipplr.com/view/3827/tsql-convert-xml-datetime-xsdatetime-to-sql-datetime/</guid>
</item>
<item>
<title>(SQL) Simple Technique to Subtract Years from an Oracle Date</title>
<link>http://snipplr.com/view/3784/simple-technique-to-subtract-years-from-an-oracle-date/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Tue, 25 Sep 2007 20:07:30 GMT</pubDate>
<guid>http://snipplr.com/view/3784/simple-technique-to-subtract-years-from-an-oracle-date/</guid>
</item>
<item>
<title>(SQL) Oracle DateTime Interval</title>
<link>http://snipplr.com/view/601/oracle-datetime-interval/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Sun, 30 Jul 2006 14:38:35 GMT</pubDate>
<guid>http://snipplr.com/view/601/oracle-datetime-interval/</guid>
</item>
</channel>
</rss>