Check if date exists