substitute
(2) The party must serve a written notice on the party filing or proposing to use the affidavit, requiring the attendance of the person making the affidavit.
(2A) The notice must be served—
(a) if the court sets a time for the service—within that time; or
(b) if the court does not set a time for the service—a reasonable time before the attendance is required.