Get ready for bed.
https://en.m.wiktionary.org/wiki/till_sängs
I think like weird stuff in English, you just have to memorize it. Can’t find satisfactory explanation for this.