Displaying content based on comparable date values

Just to say it was correct all along ( < and > notwithstanding). I had other stuff going on which was preventing it from displaying, but all OK now. Thanks for having a look.