Quantcast
Channel: SQLServerCentral » SQL Server 2014 » Development - SQL Server 2014 » Latest topics
Viewing all articles
Browse latest Browse all 3145

Time Zones

$
0
0
Good morning :-)I have a table that if you dont add the date, by defult it will add the date.[code="sql"]create table Raw_Data( ID int identity primary key,DateCreated datetime NOT NULL DEFAULT(GETDATE()),RequestNumber int,Amount float[/code]the problem is that my db is in gmt time and I am gmt +3I cannot change the server time.how do i save the correct time?

Viewing all articles
Browse latest Browse all 3145

Trending Articles