Specifics of automatic diff/translog deletion

Hello,
how exactly does the automatic deletion of diff/translog work?
Is it X time after the creation of the diff/translog or after the creation of its associated full backup?
What happens if you leave it at 0, is it going to delete the diff/translog based on the regular backup deletion time, when its full backup gets deleted or never?

Hello,

Thank you for your message.

For more detailed information about the automatic deletion of backups, please visit our guide: Remove Old SQL Server Backups.

If you have further questions, feel free to let us know.