how to check if there are 5 seconds to a specific date and time?

 

I want to know if there are 5 seconds until for example 8:00 am.

I have to use the TimeTradeServer() datetime as the source of my current time.

please give an example.

Thanks

 
sd2000sd:

I want to know if there are 5 seconds until for example 8:00 am.

I have to use the TimeTradeServer() datetime as the source of my current time.

please give an example.

Thanks

Please show what you have tried.