|
|
|
Ten Centuries
      
Group: General Forum Members
Last Login: Thursday, January 31, 2013 8:53 AM
Points: 1,176,
Visits: 778
|
|
|
|
|
|
SSC Journeyman
      
Group: General Forum Members
Last Login: Friday, May 17, 2013 1:36 AM
Points: 99,
Visits: 28
|
|
learn something new today 
|
|
|
|
|
Hall of Fame
       
Group: General Forum Members
Last Login: Thursday, May 02, 2013 3:45 PM
Points: 3,748,
Visits: 928
|
|
Good question, Steve. I like this kind of questions where I have to read and learn new things.
"El" Jerry.
"El" Jerry.
"A watt of Ottawa" - Gerardo Galvan
|
|
|
|
|
Hall of Fame
       
Group: General Forum Members
Last Login: Today @ 10:39 PM
Points: 3,250,
Visits: 65,528
|
|
Thanks for an easy one.
I personally love this data type... it makes dealing with multi-time zone data a little bit easier.... datetime data still gives me more headaches than any other.
"Ok Ms. Smith we'll schedule a callback at 3pm your time in California on Friday"
Ok so she's in a portion of California that doens't follow DST, we're in Chicago and we do.
Is Friday in or out of DST? Do we know her correct TZ? What about when our east coast support team decides to handle this one?
*sigh*
Headaches I tell you... :)
--Mark Tassin MCITP - SQL Server DBA Proud member of the Anti-RBAR alliance. For help with Performance click this link For tips on how to post your problems
|
|
|
|
|
SSC-Dedicated
           
Group: Administrators
Last Login: Today @ 3:19 PM
Points: 31,526,
Visits: 13,863
|
|
|
|
|
|
SSCrazy
      
Group: General Forum Members
Last Login: Yesterday @ 6:13 AM
Points: 2,598,
Visits: 1,551
|
|
| Nice question Steve, learned something new today.
|
|
|
|
|
SSCertifiable
       
Group: General Forum Members
Last Login: Today @ 4:53 PM
Points: 7,182,
Visits: 7,281
|
|
mtassin (4/5/2012) Thanks for an easy one.
I personally love this data type... it makes dealing with multi-time zone data a little bit easier.... datetime data still gives me more headaches than any other.
"Ok Ms. Smith we'll schedule a callback at 3pm your time in California on Friday"
Ok so she's in a portion of California that doens't follow DST, we're in Chicago and we do.
Is Friday in or out of DST? Do we know her correct TZ? What about when our east coast support team decides to handle this one?
*sigh*
Headaches I tell you... :) +1 on that. I wish I'd had this data type and this function years back. We had customers in 4 time zones raging from +05:30 to -06:00.
Tom Is minic a gheibheann béal oscailte dorn dúnta. Is minig a cheapas beul fosgailte dòrn dùinte.
http://es.linkedin.com/in/tomthomsonsoftware
|
|
|
|
|
SSC-Enthusiastic
      
Group: General Forum Members
Last Login: Tuesday, October 09, 2012 2:11 PM
Points: 128,
Visits: 159
|
|
Something seems contradictory in the answer to this question. First it says the answer is 2012/04/05 11:00:00 +05:00. Then in the explanation it says the GMT time of the result is 2012/04/05 11:00 (in other words, the answer is 2012/04/05 11:00 +00.00).
Well those two times are 5 hours apart, so they both can't be right.
|
|
|
|
|
SSCommitted
      
Group: General Forum Members
Last Login: Wednesday, October 24, 2012 8:17 PM
Points: 1,588,
Visits: 247
|
|
Good straightforward question. Thanks for submitting.
http://brittcluff.blogspot.com/
|
|
|
|
|
SSC Veteran
      
Group: General Forum Members
Last Login: Thursday, June 06, 2013 12:14 PM
Points: 207,
Visits: 217
|
|
Good question. Never used this data type before but I have a project coming my way soon where I may be able to leverage datetimeoffset. Very "timely" har har. Thanks.
Chris Umbaugh Data Warehouse / Business Intelligence Consultant twitter @chrisumbaugh
|
|
|
|