tested out all 3 conditions by putting in differnt dates and ll 3 worked perfectly