dbTalk Databases Forums  

hour of creation in table not correct

microsoft.public.sqlserver.setup microsoft.public.sqlserver.setup


Discuss hour of creation in table not correct in the microsoft.public.sqlserver.setup forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Dan
 
Posts: n/a

Default hour of creation in table not correct - 04-18-2007 , 05:03 AM






Hi,

when i create a new user in a .MDF file, the hour of creation in the field
"createdate" of table "membership" is exactly 2 hours less than the time of
my computer. Probably something to do with different hours between Europe
and UK or ...

How can i set the creation hour to exact the same hour of my computer?

Thanks
Dan



Reply With Quote
  #2  
Old   
Hari Prasad
 
Posts: n/a

Default Re: hour of creation in table not correct - 04-18-2007 , 07:06 AM






Hello,

The creation date will be always based on the date time on the SQL Server
machine.

Thanks
Hari

"Dan" <danperrt (AT) nomaol (DOT) nl> wrote

Quote:
Hi,

when i create a new user in a .MDF file, the hour of creation in the field
"createdate" of table "membership" is exactly 2 hours less than the time
of my computer. Probably something to do with different hours between
Europe and UK or ...

How can i set the creation hour to exact the same hour of my computer?

Thanks
Dan




Reply With Quote
  #3  
Old   
Dan
 
Posts: n/a

Default Re: hour of creation in table not correct - 04-18-2007 , 09:19 AM



But when the clock of my computer is 10am and i create an user at that
moment, the creation date will be 8am.
Is it possible to change the date time of sql server into the real date time
of the internal clock of my computer?

"Hari Prasad" <hari_prasad_k (AT) hotmail (DOT) com> schreef in bericht
news:eeVX2IbgHHA.4064 (AT) TK2MSFTNGP03 (DOT) phx.gbl...
Quote:
Hello,

The creation date will be always based on the date time on the SQL Server
machine.

Thanks
Hari

"Dan" <danperrt (AT) nomaol (DOT) nl> wrote in message
news:uNvrBDagHHA.4032 (AT) TK2MSFTNGP02 (DOT) phx.gbl...
Hi,

when i create a new user in a .MDF file, the hour of creation in the
field "createdate" of table "membership" is exactly 2 hours less than the
time of my computer. Probably something to do with different hours
between Europe and UK or ...

How can i set the creation hour to exact the same hour of my computer?

Thanks
Dan






Reply With Quote
Reply




Thread Tools
Display Modes

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



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.