How long can an ad hoc judge attend the sittings of the Supreme Court?
From the given context, an ad hoc judge can attend the sittings of the Supreme Court for such period as may be necessary. The exact duration is not specified in the text provided.