Please start any new threads on our new site at We've got lots of great SQL Server experts to answer whatever question you can come up with.

Our new SQL Server Forums are live! Come on over! We've restricted the ability to create new threads on these forums.

SQL Server Forums
Profile | Active Topics | Members | Search | Forum FAQ
Register Now and get your question answered!
Save Password
Forgot your Password?

 All Forums
 SQL Server 2000 Forums
 Transact-SQL (2000)
 Help with GetDate()
 Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Posting Yak Master

102 Posts

Posted - 02/25/2008 :  13:54:58  Show Profile  Reply with Quote
I am needing to return a value that is 3 hours less than the current time. How can I do this using the getdate function? Thanks for all your help.

Dr. Cross Join

7423 Posts

Posted - 02/25/2008 :  14:01:07  Show Profile  Visit jsmith8858's Homepage  Reply with Quote
look up the DateAdd() function, it will do what you want.

- Jeff
Go to Top of Page

Not Just a Number

15586 Posts

Posted - 02/25/2008 :  14:01:56  Show Profile  Reply with Quote




Hint: Want your questions answered fast? Follow the direction in this link

Add yourself!

Edited by - X002548 on 02/25/2008 14:03:27
Go to Top of Page

Posting Yak Master

102 Posts

Posted - 02/25/2008 :  15:26:15  Show Profile  Reply with Quote
thanks alot, it was just what I needed
Go to Top of Page
  Previous Topic Topic Next Topic  
 Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.51 seconds. Powered By: Snitz Forums 2000