<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/'><id>tag:blogger.com,1999:blog-36201586.post6955399448171294944..comments</id><updated>2010-10-28T23:36:11.035+01:00</updated><category term='VBScript'/><category term='Rockbox'/><category term='Vista'/><category term='LINQPad'/><category term='design patterns'/><category term='MVC'/><category term='DLNA'/><category term='Amazon'/><category term='WSC'/><category term='SQL Server'/><category term='MSXML'/><category term='digital home'/><category term='Windows'/><category term='Apple'/><category term='Azure'/><category term='ASP.NET'/><category term='WOW64'/><category term='OEM Software'/><category term='Visual Web Developer'/><category term='FLAC'/><category term='Mapstraction'/><category term='iPod'/><category term='Exact Audio Copy'/><category term='DDD'/><category term='JScript'/><category term='x64'/><category term='digital media'/><category term='music download'/><category term='ADO'/><category term='ripping'/><category term='jQuery'/><category term='64-bit'/><category term='XSL'/><category term='CSS'/><category term='PMP'/><category term='security'/><category term='Hack Day'/><category term='Music'/><category term='MP3'/><category term='streaming'/><category term='ASP'/><category term='XML'/><category term='OO'/><category term='WSH'/><category term='Web 2.0'/><category term='ADO.NET'/><category term='C#'/><category term='iPhone'/><category term='XPath'/><category term='NHibernate'/><category term='JavaScript'/><category term='.NET'/><category term='Silverlight'/><title type='text'>Comments on Derek says:: UTC gotchas in .NET and SQL Server</title><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://blog.dezfowler.com/feeds/6955399448171294944/comments/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/36201586/6955399448171294944/comments/default'/><link rel='alternate' type='text/html' href='http://blog.dezfowler.com/2010/07/utc-gotchas-in-net-and-sql-server.html'/><author><name>Derek Fowler</name><uri>http://www.blogger.com/profile/09963865123124577525</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://4.bp.blogspot.com/_EuFsZMY5ZNU/S27AtNRnjLI/AAAAAAAAAjU/zy7UIvbBBcg/s1600-R/indiana.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>2</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-36201586.post-5864741742152983690</id><published>2010-10-28T23:36:11.035+01:00</published><updated>2010-10-28T23:36:11.035+01:00</updated><title type='text'>Excellent, thanks. I was just working through the ...</title><content type='html'>Excellent, thanks. I was just working through the same problem with multiple layers. DB layer, DTO layer, JSON layer and loads of conversions going on imbetween. I think I need to change the datalayer to ensure the kind is getting set correctly.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/36201586/6955399448171294944/comments/default/5864741742152983690'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/36201586/6955399448171294944/comments/default/5864741742152983690'/><link rel='alternate' type='text/html' href='http://blog.dezfowler.com/2010/07/utc-gotchas-in-net-and-sql-server.html?showComment=1288305371035#c5864741742152983690' title=''/><author><name>Scott</name><uri>http://twitter.com/toxaq</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.dezfowler.com/2010/07/utc-gotchas-in-net-and-sql-server.html' ref='tag:blogger.com,1999:blog-36201586.post-6955399448171294944' source='http://www.blogger.com/feeds/36201586/posts/default/6955399448171294944' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1560217888'/></entry><entry><id>tag:blogger.com,1999:blog-36201586.post-893131032757334348</id><published>2010-10-26T10:44:59.470+01:00</published><updated>2010-10-26T10:44:59.470+01:00</updated><title type='text'>In answer to the guy who posted a comment with a r...</title><content type='html'>In answer to the guy who posted a comment with a rather politically sensitive message at the end of it...&lt;br /&gt;&lt;br /&gt;--&lt;br /&gt;what if you pass datetime from client to sql server?&lt;br /&gt;&lt;br /&gt;Now since .net Datetime has a kind member, so when you pass it to server, will the value be converted to local one before it is passed to and stored at server?&lt;br /&gt;--&lt;br /&gt;&lt;br /&gt;If you pass in a DateTime the Kind is ignored and no timezone offset on the database server itself is applied either. When you try to retrieve the value it will come back as Kind Unspecified regardless of the Kind when it was inserted. As I said in the post it is this you have to watch out for, if you&amp;#39;ve inserted a date from one timezone and are retrieving it in another.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/36201586/6955399448171294944/comments/default/893131032757334348'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/36201586/6955399448171294944/comments/default/893131032757334348'/><link rel='alternate' type='text/html' href='http://blog.dezfowler.com/2010/07/utc-gotchas-in-net-and-sql-server.html?showComment=1288086299470#c893131032757334348' title=''/><author><name>Derek Fowler</name><uri>http://www.blogger.com/profile/09963865123124577525</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://4.bp.blogspot.com/_EuFsZMY5ZNU/S27AtNRnjLI/AAAAAAAAAjU/zy7UIvbBBcg/s1600-R/indiana.jpg'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.dezfowler.com/2010/07/utc-gotchas-in-net-and-sql-server.html' ref='tag:blogger.com,1999:blog-36201586.post-6955399448171294944' source='http://www.blogger.com/feeds/36201586/posts/default/6955399448171294944' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1599789472'/></entry></feed>
