@Gareth - I have a few examples of the date queries in the post about them on my blog.