Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

datetime operation 1

Status
Not open for further replies.

Luzian

Programmer
Nov 27, 2005
103
US
I need to know how to mathematically operate on the datetime SQL data-type.
Here's some psudo-code to describe my problem

Code:
IF now is later than (login time + 20 minutes) THEN
[tab]...
END
 
Luzian,

Take a look at the FAQ section in this forum. Scroll down to the 'Date and Time Tips and tricks' FAQ. There are some good FAQs for using DATETIME. Especially look at FAQ183-5842 by vongrunt. It discusses manipulating dates and times.

-SQLBill

Posting advice: FAQ481-4875
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top