How adding delay to a Time type variable

I still think that you would be better to use the time from the RTC and compare your delay end time with it if the delay is going to be longer than one second. Apart from anything else it will be more accurate.