You have not defined what the method checkDate.after is, thus we can only guess. My guess is the method signature defines a Date as a parameter, and you are trying to pass a String
Type: Posts; User: copeg
You have not defined what the method checkDate.after is, thus we can only guess. My guess is the method signature defines a Date as a parameter, and you are trying to pass a String