Checks for valid dates in spy,