Added time math to site out function