code to retrieve actual court times - still have problem on reload if date changed