We have a reservation system which does not allow a reservation to be made less then 1 hour and 30 minutes from the current time. So we have a rule similar to the following:
Reservation is a BO for the reservation.
Reservation.ReservationTime is a Time Stamp and is the time the user wants the reservation for
Our validation rule is like:
IF Reservation.ReservationTime < TIME_ADD(CURRENT_TIME, 1.5) Then
REPORT ERROR 'Invalid reservation time'
Just to clarify
In your example
TimeTest.TimeTestDisplay=TIME_ADD(TimeTest.TimeTestInput,4.30)
the 4.30 does not mean 4 hours and 30 minutes, it really means 4 and 30 hundredths hours or 4 hours and 18 minutes.
To get 4 hours and 30 minutes (4 and a half hours), use 4.5