added in date querying.  Not best way to do it, but should work as long as ints are entered in.  will need validation