<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Is Datetime2 compliant with Daylight Savings Time?</title><link>http://blogs.msdn.com/b/qingsongyao/archive/2009/03/12/is-datetime2-compliant-with-daylight-savings-time.aspx</link><description>Today, I got following questions: " The documentation states that Datetime2 is unaware of the time zone. 
Does that still guarantee that when the clock gets adjusted for
Daylight Saving Time this will not result in duplicate timestamps? I.e. is Datetime2</description><dc:language>en-US</dc:language><generator>Telligent Evolution Platform Developer Build (Build: 5.6.50428.7875)</generator><item><title>re: Is Datetime2 compliant with Daylight Savings Time?</title><link>http://blogs.msdn.com/b/qingsongyao/archive/2009/03/12/is-datetime2-compliant-with-daylight-savings-time.aspx#9959173</link><pubDate>Sat, 06 Feb 2010 07:33:38 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9959173</guid><dc:creator>QingsongYao</dc:creator><description>&lt;p&gt;Hello,UndiFineD&lt;/p&gt;
&lt;p&gt; &amp;nbsp;I am not very familar with PHP, &amp;nbsp;If you can use SQL Serve Profiler to trace the query sent to the SQ SQL SQ&lt;/p&gt;
&lt;p&gt;SQL Server, I may help with it. &amp;nbsp;I beleive the issue is not related to collation, but the datetime string format &lt;/p&gt;
&lt;p&gt;since SQL Server only support certian format of the string.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9959173" width="1" height="1"&gt;</description></item><item><title>re: Is Datetime2 compliant with Daylight Savings Time?</title><link>http://blogs.msdn.com/b/qingsongyao/archive/2009/03/12/is-datetime2-compliant-with-daylight-savings-time.aspx#9958701</link><pubDate>Fri, 05 Feb 2010 09:46:36 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9958701</guid><dc:creator>UndiFineD</dc:creator><description>&lt;p&gt;I am having difficulty inserting proper datetime data into my database via PHP&lt;/p&gt;
&lt;p&gt;language is set to english (US)&lt;/p&gt;
&lt;p&gt;collation is set to SQL_Latin1_General_CP1_CI_AS&lt;/p&gt;
&lt;p&gt;mind the double and single quotes used here.&lt;/p&gt;
&lt;p&gt;&amp;lt;?PHP&lt;/p&gt;
&lt;p&gt;$datetime = 'convert(datetime'.date(&amp;quot;m/d/Y H:i:s&amp;quot;).'121)';&lt;/p&gt;
&lt;p&gt;$query = &amp;quot;INSERT INTO Table (datetime) VALUES ('&amp;quot;..&amp;quot;')&amp;quot;;&lt;/p&gt;
&lt;p&gt;$result = mssql_query($query);&lt;/p&gt;
&lt;p&gt;?&amp;gt;&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9958701" width="1" height="1"&gt;</description></item></channel></rss>