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!

Time plus int

Status
Not open for further replies.

JChanana

MIS
May 14, 2001
3
US
How do I take a datetime datatype (with a time only populated) and add a integer (where the data is already recorded in minutes) and add the two for the new time? Is there a conversion or a function that will help with this?
 

Try dateadd...

DATEADD(mi, 2, yourtime)

mi or n can be used to indicate the minute interval. Terry

X-) "I don't have a solution, but I admire your problem."
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top