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

Adding Number With Date 1

Status
Not open for further replies.

Afzaal82

MIS
Mar 2, 2005
9
PK
i have THREE FILEDS [ HOURS ] [START TIME] [ END TIME ].
HERE [HOURS] IS A NUMBER TYPE FILED. AND BOTH OTHER ARE OF TYPE DATE.
START TIME AND END TIME ARE PICKED FROM SYSDATE.
PROBLEM IS SYSTIME IS 8:00PM WE ENTER 2 IN THE [HOURS] FILED. NOW [START TIME] SHOULD REMAIN AT 8:00 PM BUT THE [END TIME] SHOULD GO AS BELOW

[END TIME] = [START TIME] + [HOURS]
I.E 10:00 = 8:00 + 2

KINDLEY GIVE ME THE CODE TO DO SO.
THANKING YOU IN ADVANCE.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top