How to expire a listing with the date attribute given by the user

This is to add to this

I used the snippet, but the Post is not actually disappearing or going into Draft as per the set time or date.
WHy is this ?

2 posts were merged into an existing topic: How to expire a listing with the date attribute given by the user