Re: default time zone for a given sql 2005 instance
- From: patfla <patf@xxxxxxxx>
- Date: Thu, 8 Jan 2009 15:43:02 -0800 (PST)
On Jan 8, 3:38 pm, Plamen Ratchev <Pla...@xxxxxxxxxxxxx> wrote:
SQL Server uses the timezone that is set up for Windows. However, it
depends how date/time is inserted in the table. For example, if inserted
using the server functions on the server side then it will use the
server timezone. But if date/time is send from client in different time
zone as parameter, then it has the timezone settings from the client
side. Unless the timezone offset was stored there is no way to determine
what was the originating timezone.
On SQL Server 2008 the new data type DATETIMEOFFSET has time zone awareness.
--
Plamen Ratchevhttp://www.SQLStudio.com
thanx Plamen - that's very helpful.
pat
.
- Follow-Ups:
- Re: default time zone for a given sql 2005 instance
- From: Plamen Ratchev
- Re: default time zone for a given sql 2005 instance
- References:
- default time zone for a given sql 2005 instance
- From: patfla
- Re: default time zone for a given sql 2005 instance
- From: Plamen Ratchev
- default time zone for a given sql 2005 instance
- Prev by Date: Re: default time zone for a given sql 2005 instance
- Next by Date: Re: default time zone for a given sql 2005 instance
- Previous by thread: Re: default time zone for a given sql 2005 instance
- Next by thread: Re: default time zone for a given sql 2005 instance
- Index(es):
Relevant Pages
|