.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
 
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
david stephan

Home >> Forum >> Sql Server >> Post New QuestionBookmark and Share Subscribe to Forum

How to Add USA Time and Date in Data Base?

Posted By: dheepitha     Posted Date: November 27, 2013    Points:5   Category :Sql Server
How to Add USA Time and Date in Data Base?

Responses
Author: volvo             
Posted Date: November 27, 2013     Points: 20   

Hi,
Check below link. will be hekpful for your query
http://msdn.microsoft.com/en-us/library/bb677243.aspx

Author: Deco             
Posted Date: December 23, 2013     Points: 20   

you can easily add the US date time by getting the UTC date

I have derived the new york time using GETUTCDATE

SELECT DATEADD(HH, -5, GETUTCDATE())

Regards,
Deco


Post Reply

You must Sign In To post reply
 
 
Find more Forum Questions on C#, ASP.Net, Vb.Net, SQL Server and more Here
Quick Links For Forum Categories:
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  OOPs  SilverlightIISJQuery
JavaScript/VBScriptBiztalkWPFPatten/PracticesWCFOthers
www.DotNetSpark.comUnAnsweredAll

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend