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

add hours to datetime

Status
Not open for further replies.

patrickw777

Programmer
Jan 6, 2004
3
0
0
US
Dear Guru,

How might I add hours to a datetime object in the Universe?
I'm hitting DB2 and trying to create a "rolling" time field that is 24 hours in the future from what the user entered.


Thanks,
Patrick
 
Calculation with DB2 objects:

Select timestamp,timestamp + 1 days from table.

It is as easy as that.....

T. Blom
Information analyst
tbl@shimano-eu.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top