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

Date problem

Status
Not open for further replies.

clo

Programmer
Apr 23, 2001
9
CA
Hi,

I have a field date on a table. The format of the date is the following: "9/12/01 11:14:15 AM". The date stored on the filed is the current date. I'll like to update this field to the next day; I know I can do it by using the expression "SYSDATE + 1". I'll also like to update hour and minutes... How can I do this?

I would really appreciates any suggestions!

 
Your question is not very clear but if you are looking to update the datefield by 1 day look at the dateadd function.
If you want to put in the current date and time + 1 day look ad using dateadd along with getdate().
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top