Set off timer Apple Music in iOS?

I would like to set an “off timer” in Apple Music in iOS. I like to go to sleep listening to music and would like Apple Music to stop after x minutes. Is this possible?

Open the clock app and set a timer. On the When timer ends option, instead of choosing a sound, scroll all the way to the bottom to see Stop playing

1 Like

Cool, I never noticed that option! Thanks!