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

Display Date Range As An Integer

Status
Not open for further replies.

jtarry

IS-IT--Management
Mar 10, 2010
22
GB
select statement

select date1, date2, date1 - date2 from table

required result:

28/02/11, 27/02/11, 1
 

Have a look at Datediff.

I love deadlines. I like the whooshing sound they make as they fly by
Douglas Adams
(1952-2001)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top