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 Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Subtract two date fields 1

Status
Not open for further replies.

TitleistDBA

IS-IT--Management
Joined
Apr 22, 2002
Messages
162
Location
US
I have two data fields. They are both datetime datatypes

[Date open] and [Closed on]

I need to select all the records in my table
where [Date Open] - [Closed on] < 4 hours

Does anybody know how to do that?



 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top