N.Y. Executive Law § 510-B
7. When a child who is placed with the division pursuant to article three of the family court act or committed pursuant to the penal law is absent from a division facility or an authorized agency without the consent of the director of such facility or authorized agency, the absence shall interrupt the calculation of the time of such placement or commitment and such interruption shall continue until the return of the child to the facility or authorized agency in which the child was placed or committed. Any time spent by such child in custody from the date of absence to the date the placement pursuant to article three of the family court act or commitment pursuant to the penal law resumes shall be credited against the time of such placement or commitment provided: