Section 363(4) in The Code of Criminal Procedure, 1973
(4)When the accused is sentenced to death by any Court and an appeal lies from such judgment as of right, the Court shall inform him of the period within which, if he wishes to appeal, his appeal should be preferred.