Do something when some time has passed

Do something when some time has passed in the code