Can't find the right coding for calculation - URGENT!

@michieldw
Next you need to set up your date selector so that it only allows selection of the show dates specified your database.