Yeah, I would have done that but I'd been paring down the problem from a larger solution and originally I was subtracted a days worth of milliseconds from the maxdate timestamp.
–
Jon CageFeb 19 '13 at 6:28