Dates may contain insects and should be checked before consuming (source). The only way to do this (that I am aware of) for dates with pits is to open the date and remove the pit to examine the area underneath it. Doing this would seem to be a problem of borer on Shabbat. I would like to know
- Is this in fact a problem of borer and if not, why not?
- If this is a problem of borer, what is the halachically advisable way of checking a date on shabbat (or is it not possible)?