In the following screenshot `datepublish` should be replace by `depublishedAt` Screenshot:  That can be found here: https://docs.boltcms.io/5.0/templating/record-and-records#using-a-record
In the following screenshot
datepublishshould be replace bydepublishedAtScreenshot:

That can be found here: https://docs.boltcms.io/5.0/templating/record-and-records#using-a-record