Database Management
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsDatabasesDatabase Management

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
  #1  
Old April 3rd, 2008, 05:49 PM
elewinso elewinso is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2008
Posts: 2 elewinso User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 11 m 18 sec
Reputation Power: 0
Change timezone of DB

Hi,

I am a newbie to mssql administration.
I would like to change my database time so that when calling getdate() it will return GMT +2

thanks in advance,
Eyal.

Reply With Quote
  #2  
Old April 4th, 2008, 01:51 PM
pgFrank's Avatar
pgFrank pgFrank is offline
So help me Codd
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2008
Location: Brazil
Posts: 129 pgFrank User rank is Sergeant (500 - 2000 Reputation Level)pgFrank User rank is Sergeant (500 - 2000 Reputation Level)pgFrank User rank is Sergeant (500 - 2000 Reputation Level)pgFrank User rank is Sergeant (500 - 2000 Reputation Level)pgFrank User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 1 Day 17 h 45 m 53 sec
Reputation Power: 18
See TODATETIMEOFFSET() and related subjects

Reply With Quote
  #3  
Old April 14th, 2008, 09:04 AM
elewinso elewinso is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2008
Posts: 2 elewinso User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 11 m 18 sec
Reputation Power: 0
Question

thanks for your help,
is there no way to change the behaviour of getdate() to return time in a different time zone.
on my server there is a discrepency between the operating system time and the time in the DB (what you get with getdate())

is there a way to resovled this ?

if it is of any help my operating system (MS server 2003) shows 18:00 and the DB 10:00

eyal.

Reply With Quote
Reply

Viewing: Dev Shed ForumsDatabasesDatabase Management > Change timezone of DB


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 

IBM developerWorks




© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway