Section 404(4) in Bharatiya Nagarik Suraksha Sanhita, 2023
(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.